使用 pip/pip3 的 Rasa 安装问题

Rasa installation issue using pip/pip3

我用 python 3.8 -

创建了一个新的 conda 环境
conda create --name rasa_env

然后我尝试使用命令安装 rasa -

pip3 install rasa==2.8.18

因为我特别想要那个版本。

但是,即使在新的空虚拟环境中,它也会抛出多个依赖错误,例如 -

INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Downloading ruamel.yaml-0.16.9-py2.py3-none-any.whl (111 kB) |████████████████████████████████| 111 kB 9.3 MB/s

请建议如何解决这个问题。

输出未显示任何实际错误,因此假设问题是 time-out 安装过程中或安装包花费的时间异常长,这可能是由新引入的 pip 依赖项解析器引起的。这已在 . Try to upgrade pip to the newest version, where this issue is 之前通过

讨论过
pip install --upgrade pip