Installation Devstack安装失败,错误消息为“0”;错误:不允许将可编辑需求作为约束”;

Installation Devstack安装失败,错误消息为“0”;错误:不允许将可编辑需求作为约束”;,installation,openstack,devstack,Installation,Openstack,Devstack,运行脚本stack.sh时遇到以下错误: Using python 3.6 to install setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,!=48.0.0,!=49.0.0 + inc/python:pip_install:187 : sudo -H LC_ALL=en_

运行脚本stack.sh时遇到以下错误:

Using python 3.6 to install setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,!=48.0.0,!=49.0.0
+ inc/python:pip_install:187               :   sudo -H LC_ALL=en_US.UTF-8 http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite python3.6 -m pip install -c /opt/stack/requirements/upper-constraints.txt --ignore-installed 'setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,!=48.0.0,!=49.0.0'
DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement.. You can find discussion regarding this at https://github.com/pypa/pip/issues/8210.
ERROR: Editable requirements are not allowed as constraints
++./stack.sh:main:752                       err_trap
++./stack.sh:err_trap:530                   local r=1
stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2021-05-10-115040
Error on exit

再高一点我有个警告:

  Attempting uninstall: pip
    Found existing installation: pip 21.1.1
    Uninstalling pip-21.1.1:
      Successfully uninstalled pip-21.1.1
Successfully installed pip-21.1.1
WARNING: Running pip as root will break packages and permissions. You
should install packages reliably by using venv:
https://pip.pypa.io/warnings/venv
知道为什么吗?
感谢您的帮助,
err\u trap
功能可以捕获任何错误。你能在你发布的第一个片段上面添加什么吗?它可能包含导致错误的操作。这个错误消息本身并没有引起我的注意。我已经用更多的信息编辑了我的问题。您试图安装它的操作系统和版本是什么?它是Ubuntu 18.04.5 LTST,是受支持的Ubuntu版本。如果它是一个干净的安装,并且您使用了Devstack的最新更改,那么我不知道从哪里开始。