python更新导致yum无法使用
2014-07-16 12:58
274 查看
问题:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
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.5.4 (r254:67916, Feb 24 2010, 10:03:49)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
解决:
将/usr/bin/yum中#/usr/bin/python 改为:/usr/bin/python2.4
sed -i 's/#\/usr\/bin\/python/#\/usr\/bin\/python2.4/g' /usr/bin/yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
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.5.4 (r254:67916, Feb 24 2010, 10:03:49)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
解决:
将/usr/bin/yum中#/usr/bin/python 改为:/usr/bin/python2.4
sed -i 's/#\/usr\/bin\/python/#\/usr\/bin\/python2.4/g' /usr/bin/yum
相关文章推荐
- python升级导致yum命令无法使用的解决办法
- centos升级python导致yum无法使用
- python升级导致yum命令无法使用的解决办法
- linux Python升级导致Yum无法使用
- python升级导致yum无法使用
- centos中python升级导致yum命令无法使用
- python升级导致yum命令无法使用的解决办法(修改版)
- python升级导致yum命令无法使用的解决办法
- python升级导致yum命令无法使用的解决办法
- CentOS 6.4升级Python导致yum无法使用
- 升级python导致yum命令无法使用
- python升级导致yum无法使用的解决办法 /usrbin/yum 和 /usr/bin/yum-updatest
- python升级导致yum命令无法使用的解决办法(修改版)
- centos6下升级python导致yum无法使用的解决办法
- Python升级或降级导致yum命令无法使用
- PYTHON升级导致yum命令无法使用的解决方案
- python 升级导致yum无法正常使用
- 升级Python而导致的YUM服务无法使用的修复方法
- 升级Python导致Yum服务不能使用的修复方法
- 使用复制存储过程执行解决“事务复制中的表大量更新导致无法及时同步”的问题 (转)