码迷,mamicode.com
首页 > 编程语言 > 详细

yum无法安装软件(python版本问题)

时间:2018-01-18 11:49:14      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:directory   shared   required   4.4   red   error   which   span   hat   


遇到如下问题:

[root@sa yum.repos.d]# yum repolist

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:


   libxml2.so.2: cannot open shared object file: No such file or directory


Please install a package which provides this module, or verify that the module is installed correctly.


It's possible that the above module doesn't match the current version of Python, which is: 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) 

[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]


If you cannot solve this problem yourself, please go to the yum faq at:  http://yum.baseurl.org/wiki/Faq



yum无法安装软件(python版本问题)

标签:directory   shared   required   4.4   red   error   which   span   hat   

原文地址:http://blog.51cto.com/sf1314/2062329

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!