I've searched but theres no libxml2 binaries for py2.7.
I have also tried running setup.py for version py2.6.9 but it gave me the error
failed to find headers for libxml2: update includes_dir
Does anyone have a solution?
Open your Linux terminal or shell. Type “ pip install lxml ” (without quotes), hit Enter. If it doesn't work, try "pip3 install lxml" or “ python -m pip install lxml “. Wait for the installation to terminate successfully.
Unless you are using a static binary distribution (e.g. from a Windows binary installer), lxml requires libxml2 and libxslt to be installed, in particular: libxml2 version 2.9. 2 or later.
Some time before I found a good page with prebuilt libraries for different versions of python and arch: http://www.lfd.uci.edu/~gohlke/pythonlibs/
I suspect it will be useful for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With