検索

ホームページ  >  に質問  >  本文

python - 源码安装yum报错 ImportError: No module named sqlitecachec

因为手贱,yum -y remove ***,删了yum,重新安装的时候遇到了问题。

./yummain.py install yum
Traceback (most recent call last):
  File "./yummain.py", line 27, in <module>
    from yum import Errors
  File "/home/huaxiaolong/yum-3.2.28/yum/__init__.py", line 42, in <module>
    import rpmsack
  File "/home/huaxiaolong/yum-3.2.28/yum/rpmsack.py", line 38, in <module>
    import yum.depsolve
  File "/home/huaxiaolong/yum-3.2.28/yum/depsolve.py", line 30, in <module>
    from transactioninfo import TransactionMember
  File "/home/huaxiaolong/yum-3.2.28/yum/transactioninfo.py", line 31, in <module>
    from sqlitesack import YumAvailablePackageSqlite
  File "/home/huaxiaolong/yum-3.2.28/yum/sqlitesack.py", line 26, in <module>
    import yumRepo
  File "/home/huaxiaolong/yum-3.2.28/yum/yumRepo.py", line 32, in <module>
    import sqlitecachec
ImportError: No module named sqlitecachec

sqlitecachec 这个模块需要安装哪个依赖包?网上查了很久都查不到。

PHP中文网PHP中文网2803日前2290

全員に返信(1)返信します

  • PHP中文网

    PHP中文网2017-04-17 13:36:24

    yum-metadata-parser

    返事
    0
  • キャンセル返事