发起问题
0

在centos7中安装Havana,提示python版本不支持

提问于 2016-05-02 22:23:18 -0500

hucf001 图像

我在centos7中安装Havana,提示python版本不支持。之后使用pyenv将python版本切换到2.6版本,依旧不支持。过程如下:

[root@localhost ~]# python
Python 2.6.6 (r266:84292, Apr 29 2016, 13:35:28) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> 
[root@localhost ~]# yum install -y openstack-nova python-novaclient
   ...
    Error: Package: python-requests-1.1.0-4.el6.noarch (RedHat-OpenStack-Havana)
               Requires: python(abi) = 2.6
               Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
                   python(abi) = 2.7
                   python(abi) = 2.7
               Available: python-2.6.6-51.el6.x86_64 (local-source)
                   python(abi) = 2.6
    Error: Package: 1:libguestfs-tools-c-1.20.11-2.el6.x86_64 (RedHat-OpenStack-Havana)
               Requires: libguestfs = 1:1.20.11-2.el6
               Installed: 1:libguestfs-1.28.1-1.18.el7.x86_64 (@anaconda)
                   libguestfs = 1:1.28.1-1.18.el7
               Available: 1:libguestfs-1.20.11-2.el6.x86_64 (RedHat-OpenStack-Havana)
                   libguestfs = 1:1.20.11-2.el6
...

因为必须得在centos7下安装,所以现在不知道怎么解决这个问题。大家有好的解决方案吗?

edit retag flag offensive close merge delete
0

回答 2016-11-27 21:16:04 -0500

ryan_chen 图像

openstack版本太旧,使用新版的openstack即可

edit flag offensive delete link 更多

你的回答

Please start posting anonymously - your entry will be published after you log in or create a new account.

开始回答

提问工具

1 follower

统计

已提问: 2016-05-02 22:23:18 -0500

已查看: 578 次

最后更新: Nov 27 '16