您的位置:首页 > 运维架构 > Linux

CentOS6.5运行yum报错:No module named yum

2017-02-27 12:17 501 查看
公司测试机环境不知道给我卸了什么包,导致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 sqlite

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:

一、升级或卸载Python导致:

二、完全重装python和yum

三、运行python进行测试

本文出自 “SmilePad” 博客,请务必保留此出处http://smilepad.blog.51cto.com/6094369/1333478
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: