[yum安装] ImportError: No module named sqlitecachec

前端之家收集整理的这篇文章主要介绍了[yum安装] ImportError: No module named sqlitecachec前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

linux环境下,遇见此错误,说明你已经下载了,并处于yum安装文件夹中,正在执行:[sudo] ./yummain.py install yum

先安装一下三个模块:

如果安装成功之后,执行yum,报一下错误

required to run yum. The error leading to this problem was:

No module named yum

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.7.12 (default,Nov 1 2016,15:50:51)
[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

解决

 vim /usr/bin/yum; 
 然后将#!/usr/bin/python中的python解释器修改为低版本。

猜你在找的程序笔记相关文章