公司测试机环境不知道给我卸了什么包,导致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导致:
1 2 3 4 5 6 7 8 |
|
二、完全重装python和yum
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
三、运行python进行测试
1 2 3 4 5 6 7 |
|
本文出自 “SmilePad” 博客,请务必保留此出处http://smilepad.blog.51cto.com/6094369/1333478