设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 2590|回复: 1
收起左侧

linux系统下升级python2.4到2.6版本后,yum不能用了,请问是什么问题?

[复制链接]
发表于 2010-11-3 14:38:41 | 显示全部楼层 |阅读模式
使用yum时的报错:
[root@www ~]# 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.6 (r26:66714, Nov  1 2010, 12:32:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

python的版本
[root@www ~]# python
Python 2.6 (r26:66714, Nov  1 2010, 12:32:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
 楼主| 发表于 2010-11-3 14:40:28 | 显示全部楼层
谢谢回复!!
沙发 2010-11-3 14:40:28 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-24 22:38 , Processed in 0.049150 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表