在CentOs 6.5上安装libxslt

时间:2015-03-09 19:01:24

标签: python centos yum libxslt

我正在尝试使用pip安装lxml,这给了我错误,因为没有安装libxml2和libxslt。我尝试使用yum安装它们。 libxml2已成功安装,但在我给sudo yum install libxslt时没有任何反应。输出如下

[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

我不知道该怎么做。 Plz的帮助。谢谢。

1 个答案:

答案 0 :(得分:0)

我下载了 libgpg-error-devel libgpg-error-devel-1.7-4.el6.x86_64.rpm libxslt-devel-1.1。 26-2.el6_3.1.x86_64.rpm 并使用rpm -i安装。然后我用pip安装了lxml。只是发布我的工作,因为它可能对其他人有帮助。谢谢大家