how to install lxml in window xp?

Stefan Behnel stefan_ml at behnel.de
Mon Jan 9 05:19:53 EST 2012


水静流深, 09.01.2012 10:18:
> in my xp ,python26,easy_install  installed.
> i  want  to  install  lxml in window xp
> 1.c:\python26\scripts\easy_install  lxml
> 
> what i get is:
> 
> Reading http://codespeak.net/lxml
> Best match: lxml 2.3.3
> Downloading http://lxml.de/files/lxml-2.3.3.tgz
> Processing lxml-2.3.3.tgz
> Running lxml-2.3.3\setup.py -q bdist_egg --dist-dir c:\windows\temp\easy_install
> -58e4ap\lxml-2.3.3\egg-dist-tmp-hyg1bg
> Building lxml version 2.3.3.
> Building with Cython 0.15.1.
> ERROR: 'xslt-config' is not recognized as an internal or external command,
> operable program or batch file.
> 
> ** make sure the development packages of libxml2 and libxslt are installed **

Well?


> how can i install the lxml  in my xp??

You should read the docs:

http://lxml.de/FAQ.html#where-are-the-binary-builds

http://lxml.de/installation.html#installation

Note that lxml currently lacks binary Windows builds for its latest
releases. There are eggs for the original 2.3 release, though.

Stefan




More information about the Python-list mailing list