Jump to content
We're Hiring! Full Stack Developer ×



Recommended Posts



I am trying to install lxml on my box to use IMDbPY.


It seems to want a devel version of libxml2 and libxslt libraries


Reading http://codespeak.net/lxml
Best match: lxml 2.3.1
Downloading http://lxml.de/files/lxml-2.3.1.tgz
Processing lxml-2.3.1.tgz
Running lxml-2.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-G2JuaS/lxml-2.3.1/egg-dist-tmp-oTo7ik
Building lxml version 2.3.1.
Building with Cython 0.15.1.
ERROR: /bin/sh: xslt-config: command not found

** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt 
In file included from src/lxml/lxml.etree.c:239:
src/lxml/etree_defs.h:9:31: error: libxml/xmlversion.h: No such file or directory
src/lxml/etree_defs.h:11:4: error: #error the development package of libxml2 (header files etc.) is not installed correctly


I have the packaged versions of these libraries installed and showing in the /usr/lib dir...


Any ideas how I can get the devel versions, the only ones I can find are rpm packages.



Link to comment


This topic is now archived and is closed to further replies.

  • Create New...