fatal error: libxml/xpath.h: No such file or directory
Running setup.py install for lxml ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file
/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '
all --record /tmp/pip-PDRsRl-record/install-record.txt --single-version-externally-managed
Building lxml version 3.5.0.
Building without Cython.
ERROR: /bin/sh: 1: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
(...)
/tmp/xmlXPathInit1Dz_M6.c:1:26: fatal error: libxml/xpath.h: No such file or directory
Solution
$> sudo apt-get install libxml2-dev libxslt-dev
Recent Comments