免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3577 | 回复: 2
打印 上一主题 下一主题

[系统管理] yum模块报错!求高手 [复制链接]

论坛徽章:
1
天蝎座
日期:2014-11-17 14:50:23
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-05-29 11:26 |显示全部楼层 |倒序浏览

系统环境
[peter@sony bin]$uname -r ;lsb_release -a
2.6.32-431.17.1.el6.centos.plus.x86_64

LSB Version:        :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:        CentOS
Description:        CentOS release 6.5 (Final)
Release:        6.5
Codename:        Final


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

   No module named operator

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, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

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

看网上几乎都是说因为系统中有多个python版本导致的问题,但本系统中只有python2.6.6
在线等高手解答~~

论坛徽章:
1
天蝎座
日期:2014-11-17 14:50:23
2 [报告]
发表于 2014-05-30 08:39 |显示全部楼层
是的,可是,如何解决呢?网上很多解决 No module named  yum 的方法 但是这个就不得其解了。  回复 2# q1208c


   

论坛徽章:
1
天蝎座
日期:2014-11-17 14:50:23
3 [报告]
发表于 2014-05-30 15:22 |显示全部楼层
试过重装yum,和python 都没有解决。回复 5# q1208c


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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP