首页 > 解决方案 > 使用 .yaml 创建环境时包冲突

问题描述

我正在使用 command 从 .yaml 文件创建工作环境>> conda env create -f environment.yaml

但是我得到了这样的错误信息:

Found conflicts! Looking for incompatible packages.
This can take several minutes.
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package parso conflicts for:
ipython==7.0.1=py36h39e3cac_0 -> jedi[version='>=0.10,<0.18'] -> parso[version='0.1.0|>=0.1.0,<0.2|>=0.2.0|>=0.3.0|>=0.5.0|>=0.5.2|>=0.7.0|>=0.7.0,<0.8.0|>=0.5.2,<0.8.0|>=0.5.0,<0.8.0|>=0.3.0,<0.8.0|>=0.2.0,<0.8.0']
jedi==0.13.1=py36_0 -> parso[version='>=0.3.0|>=0.3.0,<0.8.0']
parso==0.3.1=py36_0

Package pexpect conflicts for:
pexpect==4.6.0=py36_0
ipython==7.0.1=py36h39e3cac_0 -> pexpect

...

这些信息让我感到困惑,因为它们看起来并不相互冲突。

我正在使用 conda 4.10.1。

标签: pythonlinuxconda

解决方案


推荐阅读