[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解释器修改为低版本。

相关文章

显卡天梯图2024最新版,显卡是电脑进行图形处理的重要设备,...
初始化电脑时出现问题怎么办,可以使用win系统的安装介质,连...
todesk远程开机怎么设置,两台电脑要在同一局域网内,然后需...
油猴谷歌插件怎么安装,可以通过谷歌应用商店进行安装,需要...
虚拟内存这个名词想必很多人都听说过,我们在使用电脑的时候...