分享

安装Openstack提示没有安装setuptools

doggiejohn 发表于 2017-3-23 18:56:09 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 7728
+ sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -U os-testr
Ignoring dnspython3: markers "python_version=='3.4'" don't match your environment
Collecting os-testr===0.6.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 188))
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/ ... ureplatformwarning.
  InsecurePlatformWarning
  Using cached os_testr-0.6.0-py2-none-any.whl
Collecting pbr===1.8.1 (from -c /opt/stack/requirements/upper-constraints.txt (line 214))
  Using cached pbr-1.8.1-py2.py3-none-any.whl
Collecting python-subunit===1.2.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 269))
  Using cached python_subunit-1.2.0-py2.py3-none-any.whl
Collecting testrepository===0.0.20 (from -c /opt/stack/requirements/upper-constraints.txt (line 314))
  Using cached testrepository-0.0.20.tar.gz
setuptools must be installed to install from a source distribution
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
+ exit_trap
+ local r=1
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 1 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ generate-subunit 1490265890 243 fail
./stack.sh: line 462: generate-subunit: command not found

安装Devstack的时候,提示setuptools must be installed to install from a source distribution。
但是我已经 sudo pip install --upgrade pip安装了,但是每次运行./stack.sh还是报错。
请大侠帮手看看,谢谢!

已有(1)人评论

跳转到指定楼层
einhep 发表于 2017-3-24 10:06:03
楼主试试下面方法
[mw_shl_code=bash,true]pip install -U virtualenv
[/mw_shl_code]

[mw_shl_code=bash,true]pip install -U pip[/mw_shl_code]

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条