I got Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? In easy_install lxml.

ʻEasy_install lxml` seems to give an error.

lxml does not fit

easy_install lxml

*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************

It looks like no good.

Put python-lxml

It seems good to include python-lxml.

apt-get install libxml2-dev libxslt1-dev python-dev
apt-get install python-lxml

Check again

It seems that this time it went well.

reference

http://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu

Recommended Posts

I got Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? In easy_install lxml.
[Deleste] I could not find evidence that Dereste's Gasha is manipulating probability.
I got InsecurePlatformWarning in python, so I installed requests [security]