Conda依赖项解析错误无法理解

时间:2019-11-14 01:30:11

标签: conda

有人可以帮助我了解应该如何阅读吗?每当我收到Conda的依赖关系解决错误时,我都会不得不做一些基本的调查,因为错误消息(尽管看起来确实是在尝试提供帮助)基本上感觉毫无用处。

很乐意更好地了解我应该如何阅读。

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Package libffi conflicts for:
python=3.7 -> libffi[version='>=3.2.1,<3.3.0a0|>=3.2.1,<4.0a0']
Package python conflicts for:
workflow -> python
Package pip conflicts for:
python=3.7 -> pip
Package xz conflicts for:
python=3.7 -> xz[version='>=5.2.3,<5.3.0a0|>=5.2.4,<5.3.0a0|>=5.2.4,<6.0a0']
Package libstdcxx-ng conflicts for:
python=3.7 -> libstdcxx-ng[version='>=4.9|>=7.2.0|>=7.3.0']
Package jinja2 conflicts for:
workflow -> jinja2
Package readline conflicts for:
python=3.7 -> readline[version='>=7.0,<8.0a0|>=8.0,<9.0a0']
Package pygraphviz conflicts for:
workflow -> pygraphviz
Package pyfunctional conflicts for:
workflow -> pyfunctional[version='>=1.2.0']
Package click conflicts for:
workflow -> click[version='>=7']
Package snakemake conflicts for:
workflow -> snakemake[version='>=5.3.0']
Package networkx conflicts for:
workflow -> networkx
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package zlib conflicts for:
python=3.7 -> zlib[version='>=1.2.11,<1.3.0a0']
Package sqlite conflicts for:
python=3.7 -> sqlite[version='>=3.24.0,<4.0a0|>=3.25.1,<4.0a0|>=3.25.2,<4.0a0|>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0']
Package libgcc-ng conflicts for:
python=3.7 -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
Package pygments conflicts for:
workflow -> pygments
Package tk conflicts for:
python=3.7 -> tk[version='>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0|>=8.6.9,<8.7.0a0']
Package psutil conflicts for:
workflow -> psutil[version='>=5.6.3']
Package bzip2 conflicts for:
python=3.7 -> bzip2[version='>=1.0.6,<2.0a0']
Package ncurses conflicts for:
python=3.7 -> ncurses[version='>=6.1,<6.2.0a0|>=6.1,<7.0a0']

1 个答案:

答案 0 :(得分:1)

Package libffi conflicts for:
python=3.7 -> libffi[version='>=3.2.1,<3.3.0a0|']

认为这意味着您正在尝试安装python 3.7,它要求libffi版本为> = 3.2.1和<3.3.0a0(或> = 3.2.1和< 4.0a0)。但是,您过去安装的libffi版本必须在此兼容版本范围之外(例如,您要求版本<3.2)。

也许发布生成错误的命令和conda list的输出(假设您正在尝试在当前环境中安装/升级)。