Issue
I am trying to install lxml using pip which gave me errors as libxml2 and libxslt were not installed. I tried installing them using yum. libxml2 was successfully installed but nothing happens when I give sudo yum install libxslt
. The output is as follows
[root@motamarri Downloads]# yum install libxslt
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* rpmforge: archive.cs.uu.nl
* webtatic: uk.repo.webtatic.com
Nothing to do
I am not sure what to do. Plz help. Thank you.
Solution
I downloaded libgpg-error-devel, libgpg-error-devel-1.7-4.el6.x86_64.rpm and libxslt-devel-1.1.26-2.el6_3.1.x86_64.rpm and installed using rpm -i
. Then I installed lxml using pip. Just posting my work as it may be helpful for someone else. Thank you everyone
Answered By - sandeep Answer Checked By - Candace Johnson (WPSolving Volunteer)