已经安装了python2.7但是yum告诉我需要python2.7

时间:2018-06-05 06:58:53

标签: python python-2.7 centos yum ceph

我想在centos 6.3上安装ceph-deploy。我使用“yum install ceph-deploy”但是出错了:

Error: Package: ceph-deploy-1.5.28-0.noarch (ceph)
           Requires: python(abi) = 2.7
           Installed: python-2.6.6-29.el6.x86_64 (installed)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我在centos 6.3上安装python2.7并使用cmd blew来验证我已经安装了python2.7

[root@localhost /root/]# python2.7
Python 2.7.14 (default, Jun  5 2018, 13:58:17) 
[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

但是我用“yum install ceph-deploy”得到了同样的错误。

Error: Package: ceph-deploy-1.5.28-0.noarch (ceph)
           Requires: python(abi) = 2.7
           Installed: python-2.6.6-29.el6.x86_64 (installed)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我无法弄明白为什么,所以我来这里寻求帮助。感谢!!!

0 个答案:

没有答案