Ask Your Question

hucf001's profile - activity

2016-11-27 21:14:23 -0500 received badge  Popular Question (source)
2016-11-27 21:14:23 -0500 received badge  Notable Question (source)
2016-11-27 21:14:23 -0500 received badge  Famous Question (source)
2016-05-03 10:34:06 -0500 asked a question 在centos7中安装Havana,提示python版本不支持

我在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下安装,所以现在不知道怎么解决这个问题。大家有好的解决方案吗?

2016-05-03 10:34:05 -0500 asked a question install Havana on centos7,python version does not support.

i try to install Havana on centos7,the default python version is 2.7.so i use pyenv to set the current environment to 2.6.but it still show an error.

[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

so,how to install Havana on centos7 ?

2016-05-03 10:34:04 -0500 asked a question Install openstack H version on centos7, python version does not support

I try to install openstack(H) on centos7, but it depends on python2.6, so i try to replace the current environment with python2.6, however, rely on an error.The following is:

pyenv install 2.6.6 -v

pyenv global

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.

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 Error: Package: ncurses-libs-5.7-3.20090208.el6.i686 (RedHat-OpenStack-Havana) Requires: ncurses-base = 5.7-3.20090208.el6 Installed: ncurses-base-5.9-13.20130511.el7.noarch (@anaconda) ncurses-base = 5.9-13.20130511.el7 Available: ncurses-base-5.7-3.20090208.el6.x86_64 (RedHat-OpenStack-Havana) ncurses-base = 5.7-3.20090208.el6