回复: install lxml
Stefan Behnel
stefan_ml at behnel.de
Mon Oct 24 03:12:40 EDT 2011
水静流深, 24.10.2011 07:31:
> The latest version is lxml 2.3.1, released 2011-09-25,
> 1.download it
> 2.extract it ,put it in the /home/user/Python-3.2.2/libxml2-2.7.8
> 3.cd /home/user/Python-3.2.2/libxml2-2.7.8
> 4. ./configure
> 5.make
> 6.sudo make install
Not libxml2. lxml.
> when i finished
> ~$ python3.2
> Python 3.2.2 (default, Oct 24 2011, 10:33:35)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import lxml
> Traceback (most recent call last):
> File "<stdin>", line 1, in<module>
> ImportError: No module named lxml
>
> there is still the problem!!
You can get a binary build for Windows from PyPI:
http://pypi.python.org/pypi/lxml/2.3
Oh, and please avoid cross-posting (and top-posting in replies).
Stefan
More information about the Python-list
mailing list