我试图使用pip安装lxml,这给我带来了错误,因为没有安装libxml2和libxslt。我试过用百胜安装它们。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我不知道该怎么办。请帮帮忙。谢谢。
发布于 2015-03-09 19:41:23
我下载了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。只是张贴我的工作,因为这可能对其他人有帮助。谢谢大家
https://stackoverflow.com/questions/28949791
复制相似问题