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

时间:2018-01-18 11:38:16   收藏:0   阅读:306

遇到如下问题:

[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



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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!