- 论坛徽章:
- 0
|
我的系统版本为centos6.2,不知道是更新了什么文件之后,服务器上的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:
2.6.6 (r266:84292, Dec 7 2011, 20:48:22)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
google之,说有通过python-sqlite安装后可解决问题,去下载了python-sqlite-1.1.7-1.2.1.x86_64.rpm,这个是centos5.8里面的,没找到6.2的版本,安装提示这个需要python2.4.难道现在系统上的python2.6卸载,然后装2.4.有其他招没? |
|