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

Linux python 重装

2017-12-15 22:38 176 查看
这个人写的不错

公司测试机环境不知道给我卸了什么包,导致yum运行报错状况:

系统版本:Red Hat Enterprise Linux Server release 6.2 (Santiago)

内核版本:2.6.32-220.el6.x86_64

报错情况:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: