无法在devstack安装中安装os-testr

问题描述 投票:0回答:1

我正在尝试在我的 Virtual Box ubuntu 18.04.6 上安装 devstack 在我发出命令 ./stack.sh

我收到一个错误,内容如下:

+inc/python:pip_install:216 env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= /opt/stack/data/venv/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -U os-testr
ERROR: Cannot install os-testr because this version of the package has conflicting dependencies.

还有这样一条消息:

冲突的原因是: 用户请求 os-testr 用户请求(约束)os-testr===3.0.0

要解决此问题,您可以尝试:

  1. 放宽您指定的软件包版本范围
  2. 删除软件包版本以允许 pip 尝试解决依赖冲突

错误内部还建议我访问此链接:https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies但我不明白答案。

如何解决?

我尝试使用“nanorequirements.txt”查找requirements.txt,但requirements.txt是一个空白文件。并在“nanorequirements.txt”中写入“os-testr==3.0.0”,但是没有任何变化。

pip ubuntu-18.04 devstack
1个回答
0
投票

你找到解决办法了吗?请分享给我,因为我也有同样的问题

© www.soinside.com 2019 - 2024. All rights reserved.