The error
When the libxml is missing, installing lxml fail with this error:
fatal error: libxml/xpath.h: No such file or directory
Solution
To fix the issue on Ubuntu
sudo apt-get install libxml2-dev libxslt1-dev python-dev
}
When the libxml is missing, installing lxml fail with this error:
fatal error: libxml/xpath.h: No such file or directory
To fix the issue on Ubuntu
sudo apt-get install libxml2-dev libxslt1-dev python-dev
Software engineer and technical writer. 10+ years experience in DevOps, Python, and Linux systems.
More articles by Leonardo Lazzaro