- by serenetech
- on 7th February 2012
- with no comments
Python.h: No such file or directory
Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /usr/lib src/lxml/lxml.etree.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: Setup script exited with error: command ‘gcc’ failed with exit status 1 If you get the above error, it means python-dev is not installed Run sudo apt-get install python-dev


