VPS侦探论坛

 找回密码
 注册
查看: 3532|回复: 1

军哥我不知道动了啥...yum不好使了求帮忙

[复制链接]
发表于 2016-8-8 00:22:25 | 显示全部楼层 |阅读模式

军哥我不知道动了啥...yum不好使了求帮忙


centos6.5 x64的系统  yum提示
No module named sqlite










[root@iZ28g9sf1k0Z ~]# yum install tree
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, Jan 22 2014, 09:42:36)
[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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-8-8 08:38:07 | 显示全部楼层


可能系统里多个python造成的

whereis python看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 03:33 , Processed in 0.024472 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表