1. 程式人生 > >yum無法安裝軟件(python版本問題)

yum無法安裝軟件(python版本問題)

imp led pos yourself there round org share req


遇到如下問題:

[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版本問題)