Today I try to install openstack via devstack stable/mitaka in Centos7.
I met this error.
I find the patch https://review.openstack.org/428262, and modify the install_pip.sh manually.
But it seems that the patch does not work.
The error messages is:
2017-02-11 12:47:20.167 | +tools/install_pip.sh:main:136 set -x
2017-02-11 12:47:20.172 | +tools/install_pip.sh:main:137 pip_install -U setuptools==30.4.0
2017-02-11 12:47:20.255 | Traceback (most recent call last):
2017-02-11 12:47:20.255 | File "<string>", line 1, in <module>
2017-02-11 12:47:20.255 | AttributeError: 'module' object has no attribute '__version__'
2017-02-11 12:47:20.260 | ++./stack.sh:main:717 err_trap
2017-02-11 12:47:20.265 | ++./stack.sh:err_trap:504 local r=1
2017-02-11 12:47:20.272 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2017-02-11-204659
2017-02-11 12:47:20.274 | Error on exit
[root@along-client devstack]# pip list | grep setup
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
initial-setup (0.3.9.30)
setuptools (30.4.0)
Today I try to install openstack via devstack stable/mitaka in Centos7. /review. openstack. org/428262, and modify the install_pip.sh manually.
I met this error.
I find the patch https:/
But it seems that the patch does not work.
The error messages is: install_ pip.sh: main:136 set -x install_ pip.sh: main:137 pip_install -U setuptools==30.4.0 sh:main: 717 err_trap sh:err_ trap:504 local r=1 logs/stack. sh.log. 2017-02- 11-204659
2017-02-11 12:47:20.167 | +tools/
2017-02-11 12:47:20.172 | +tools/
2017-02-11 12:47:20.255 | Traceback (most recent call last):
2017-02-11 12:47:20.255 | File "<string>", line 1, in <module>
2017-02-11 12:47:20.255 | AttributeError: 'module' object has no attribute '__version__'
2017-02-11 12:47:20.260 | ++./stack.
2017-02-11 12:47:20.265 | ++./stack.
2017-02-11 12:47:20.272 | stack.sh failed: full log in /opt/stack/
2017-02-11 12:47:20.274 | Error on exit
[stack@along-client devstack]$ grep -n setuptool tools/install_ pip.sh
137:pip_install -U setuptools==30.4.0
[root@along-client devstack]# pip list | grep setup (legacy| columns) (or define a format= (legacy| columns) in your pip.conf under the [list] section) to disable this warning.
DEPRECATION: The default format will switch to columns in the future. You can use --format=
initial-setup (0.3.9.30)
setuptools (30.4.0)