how to install lxml in window xp?
Tamer Higazi
th982a at googlemail.com
Thu Jan 12 00:01:36 EST 2012
Use Linux!
Specially Gentoo Linux!
Tamer
Am 09.01.2012 10:18, schrieb 水静流深:
> 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 **
>
> Using build configuration of libxslt
> warning: no files found matching 'lxml.etree.c' under directory 'src\lxml'
> warning: no files found matching 'lxml.objectify.c' under directory
> 'src\lxml'
> warning: no files found matching 'lxml.etree.h' under directory 'src\lxml'
> warning: no files found matching 'lxml.etree_api.h' under directory
> 'src\lxml'
> warning: no files found matching 'etree_defs.h' under directory 'src\lxml'
>
>
> 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 **
>
> Using build configuration of libxslt
> warning: no files found matching 'lxml.etree.c' under directory 'src\lxml'
> warning: no files found matching 'lxml.objectify.c' under directory
> 'src\lxml'
> warning: no files found matching 'lxml.etree.h' under directory 'src\lxml'
> warning: no files found matching 'lxml.etree_api.h' under directory
> 'src\lxml'
> warning: no files found matching 'etree_defs.h' under directory 'src\lxml'
> warning: no files found matching 'pubkey.asc' under directory 'doc'
> warning: no files found matching 'tagpython*.png' under directory 'doc'
> warning: no files found matching 'Makefile' under directory 'doc'
>
> error: Setup script exited with error: None
>
> how can i install the lxml in my xp??
>
>
More information about the Python-list
mailing list