Comment 8 for bug 1651292

Revision history for this message
mengalong (mengalong) wrote :

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

[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
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)