安装yum报错 ImportError: No module named sqlitecachec

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

[root@localhostyum-3.4.3]#  ./yummain.py update
Traceback (mostrecent call last):
  File "./yummain.py",line 28,in<module>
    from yum import Errors
  File"/root/yum-3.4.3/yum/__init__.py",line 55,in <module>
    import rpmsack
  File"/root/yum-3.4.3/yum/rpmsack.py",line 38,in <module>
    import yum.depsolve
  File"/root/yum-3.4.3/yum/depsolve.py",line 30,in <module>
    from transactioninfo importTransactionMember
  File"/root/yum-3.4.3/yum/transactioninfo.py",line 32,in <module>
    from sqlitesack importYumAvailablePackagesqlite
  File"/root/yum-3.4.3/yum/sqlitesack.py",line 26,in <module>
    import yumRepo
  File"/root/yum-3.4.3/yum/yumRepo.py",line 33,in <module>
    import sqlitecachec
ImportError: Nomodule named sqlitecachec

@H_502_7@解决方法

@H_502_7@查看你安装的

@H_502_7@python-iniparse-*.e*.noarch.rpm

@H_502_7@yum-*.centos.0.1.noarch.rpm

@H_502_7@yum-Metadata-parser-*.x86_64.rpm

@H_502_7@yum-plugin-fastestmirror-*.noarch.rpm

@H_502_7@插件版本是不是与CentOS对应的版本,插件版本安对了就不报错了

原文链接:https://www.f2er.com/bash/389045.html

猜你在找的Bash相关文章