installing lxml ?

srid sridhar.ratna at gmail.com
Wed Nov 11 14:39:54 EST 2009


On Nov 11, 6:54 am, 7stud <bbxx789_0... at yahoo.com> wrote:
>
> Unfortunately, easy_install was not able to installlxml!  Here is the
> output:
>
> ---
> $ sudo STATIC_DEPS=true /Library/Frameworks/Python.framework/Versions/
> 2.6/bin/easy_installlxml
> Password:
> sudo: STATIC_DEPS=true: command not found
> $ STATIC_DEPS=true sudo /Library/Frameworks/Python.framework/Versions/
> 2.6/bin/easy_installlxml
> Password:
> Searching forlxml
> Readinghttp://pypi.python.org/simple/lxml/
> Readinghttp://codespeak.net/lxml
> Best match:lxml2.2.3
> Downloadinghttp://codespeak.net/lxml/lxml-2.2.3.tgz
> Processinglxml-2.2.3.tgz
> Runninglxml-2.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-
> r2obQa/lxml-2.2.3/egg-dist-tmp-7v5A1n
> Buildinglxmlversion 2.2.3.
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/2.6/bin/
> easy_install", line 8, in <module>
>     load_entry_point('setuptools==0.6c11', 'console_scripts',
> 'easy_install')()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 1712, in main
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 1700, in with_ei_usage
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 1716, in <lambda>
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/distutils/core.py", line 152, in setup
>     dist.run_commands()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/distutils/dist.py", line 975, in run_commands
>     self.run_command(cmd)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/distutils/dist.py", line 995, in run_command
>     cmd_obj.run()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 211, in run
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 446, in easy_install
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 476, in install_item
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 655, in install_eggs
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 930, in build_and_install
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/
> easy_install.py", line 919, in run_setup
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/
> sandbox.py", line 62, in run_setup
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/
> sandbox.py", line 105, in run
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/
> sandbox.py", line 64, in <lambda>
>   File "setup.py", line 119, in <module>
>
>   File "/tmp/easy_install-r2obQa/lxml-2.2.3/setupinfo.py", line 51, in
> ext_modules
> TypeError: build_libxml2xslt() got an unexpected keyword argument
> 'libiconv_version'

https://bugs.launchpad.net/lxml/+bug/480225

-srid




More information about the Python-list mailing list