【发布时间】:2021-03-24 01:48:42
【问题描述】:
自从更新我的 Anaconda 基础架构(包括将 conda 更新到 v4.9.2)后,我发现我的其中一个软件包的安装:pybert 已损坏.
而且,当我仔细阅读报告的冲突列表时,我会看到如下内容:
Package six conflicts for:
chaco -> enable[version='>=4.8.0,<4.9'] -> six
scikit-rf -> six
这在我看来是假的。
(两条路径都指向six,没有版本限制;那么,怎么会有冲突呢?)
是我误读了这些冲突报告,还是conda 又坏了?
谢谢!
-db
十二月。 2020 年 13 月 13 日:
回复@merv(谢谢!),这是我的conda install ... 命令的完整输出:
$ conda install -c dbanas -c conda-forge -c defaults --strict-channel-priority pybert
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed -
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package cython conflicts for:
pyyaml -> cython
chaco -> cython
Package numpy conflicts for:
pyibis-ami=3.3.3 -> matplotlib -> numpy[version='1.10.*|1.11.*|>=1.14.6,<2.0a0|>=1.18.5,<2.0a0|>=1.16.5,<2.0a0|>=1.19.2,<2.0a0|>=1.18.1,<2.0a0|>=1.9.3,<2.0a0|>=1.11.3,<2.0a0|>=1.9|>=1.11|1.13.*|1.12.*|>=1.16.6,<2.0a0|>=1.15.1,<2.0a0']
scikit-rf -> matplotlib-base -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.*|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.4,<2.0a0|>=1.16.5,<2.0a0|>=1.18.5,<2.0a0|>=1.19.4,<2.0a0|>=1.19.2,<2.0a0|>=1.9.3,<2.0a0|>=1.16.6,<2.0a0|>=1.18.4,<2.0a0|>=1.18.1,<2.0a0|>=1.12.1,<2.0a0|>=1.9.*|>=1.9|>=1.8|>=1.7|>=1.13.3,<2.0a0|>=1.9.3,<1.10.0a0|>=1.15.1,<2.0a0']
chaco -> enable[version='>=4.8.0,<4.9'] -> numpy
scikit-rf -> numpy
Package gdbm conflicts for:
kiwisolver -> pypy3.6[version='>=7.3.2'] -> gdbm[version='>=1.18,<1.19.0a0']
python -> pypy3.7=7.3.3 -> gdbm[version='>=1.18,<1.19.0a0']
pyyaml -> pypy3.6[version='>=7.3.2'] -> gdbm[version='>=1.18,<1.19.0a0']
Package setuptools conflicts for:
chaco -> cython -> setuptools
pyibis-ami=3.3.3 -> matplotlib -> setuptools
pyyaml -> cython -> setuptools
scikit-rf -> ipython -> setuptools[version='>=18.5']
python -> pip -> setuptools
Package ca-certificates conflicts for:
python -> ca-certificates
pyyaml -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
pyside2 -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
kiwisolver -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
scikit-rf -> python -> ca-certificates
Package matplotlib-base conflicts for:
scikit-rf -> matplotlib-base
scikit-rf -> matplotlib -> matplotlib-base[version='2.1.2|2.1.2|2.1.2|2.2.3|2.2.3|2.2.3|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|3.0.1|3.0.2|3.0.2|3.0.2|3.0.2|3.0.2|3.0.3|3.0.3|3.0.3|3.0.3|3.1.0|3.1.0|3.1.0|3.1.0|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.3|3.1.3|3.1.3|>=3.2.0,<3.2.1.0a0|>=3.2.1,<3.2.2.0a0|>=3.2.2,<3.2.3.0a0|>=3.3.0,<3.3.1.0a0|>=3.3.1,<3.3.2.0a0|>=3.3.2,<3.3.3.0a0|>=3.3.3,<3.3.4.0a0|>=2.2.5,<2.2.6.0a0|3.1.3|3.1.3|3.1.3|3.1.2|3.1.2|3.1.2',build='py38h9aa3819_1|py36h9aa3819_0|py37h9aa3819_0|py36h31f9439_1|py37h31f9439_1|py36hd64abcd_1|py37h31f9439_1|py27h11da6c2_2|py36hf043ca5_1000|py36hf043ca5_1001|py37hf043ca5_1002|py36hf043ca5_0|py37hf043ca5_0|py36habd5b94_1|py37habd5b94_1|py37h3a684a6_1|py37h3a684a6_1|py36h11da6c2_2|py37h11da6c2_0|py38h11da6c2_0|py36h11da6c2_1|py37h11da6c2_1|py38h11da6c2_1|py37h11da6c2_0|py38h11da6c2_0|py36h11da6c2_0|py36h11da6c2_0|py38h11da6c2_2|py37h11da6c2_2|py38h11da6c2_1|py36h3a684a6_1|py36h3a684a6_0|py37h3a684a6_0|py36h3a684a6_1|py36habd5b94_0|py37habd5b94_0|py36hf043ca5_1002|py37hf043ca5_1001|py36hebca740_1001|py36h11da6c2_2|py38h11da6c2_2|py37h11da6c2_2|py36h31f9439_1|py27h31f9439_1|py27h3a684a6_0|py37h3a684a6_0|py36h3a684a6_0|py37hd64abcd_1|py27hd64abcd_1|py27h31f9439_1|py38h9aa3819_0|py36h9aa3819_1|py37h9aa3819_1']
pyibis-ami=3.3.3 -> matplotlib -> matplotlib-base[version='2.1.2|2.1.2|2.1.2|2.2.3|2.2.3|2.2.3|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|3.0.1|3.0.2|3.0.2|3.0.2|3.0.2|3.0.2|3.0.3|3.0.3|3.0.3|3.0.3|3.1.0|3.1.0|3.1.0|3.1.0|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.1|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.2|3.1.3|3.1.3|3.1.3|>=3.2.0,<3.2.1.0a0|>=3.2.1,<3.2.2.0a0|>=3.2.2,<3.2.3.0a0|>=3.3.0,<3.3.1.0a0|>=3.3.1,<3.3.2.0a0|>=3.3.2,<3.3.3.0a0|>=3.3.3,<3.3.4.0a0|>=2.2.5,<2.2.6.0a0|3.1.3|3.1.3|3.1.3|3.1.2|3.1.2|3.1.2',build='py38h9aa3819_1|py36h9aa3819_0|py37h9aa3819_0|py36h31f9439_1|py37h31f9439_1|py36hd64abcd_1|py37h31f9439_1|py27h11da6c2_2|py36hf043ca5_1000|py36hf043ca5_1001|py37hf043ca5_1002|py36hf043ca5_0|py37hf043ca5_0|py36habd5b94_1|py37habd5b94_1|py37h3a684a6_1|py37h3a684a6_1|py36h11da6c2_2|py37h11da6c2_0|py38h11da6c2_0|py36h11da6c2_1|py37h11da6c2_1|py38h11da6c2_1|py37h11da6c2_0|py38h11da6c2_0|py36h11da6c2_0|py36h11da6c2_0|py38h11da6c2_2|py37h11da6c2_2|py38h11da6c2_1|py36h3a684a6_1|py36h3a684a6_0|py37h3a684a6_0|py36h3a684a6_1|py36habd5b94_0|py37habd5b94_0|py36hf043ca5_1002|py37hf043ca5_1001|py36hebca740_1001|py36h11da6c2_2|py38h11da6c2_2|py37h11da6c2_2|py36h31f9439_1|py27h31f9439_1|py27h3a684a6_0|py37h3a684a6_0|py36h3a684a6_0|py37hd64abcd_1|py27hd64abcd_1|py27h31f9439_1|py38h9aa3819_0|py36h9aa3819_1|py37h9aa3819_1']
Package libpng conflicts for:
pyside2 -> qt[version='>=5.12.9,<5.13.0a0'] -> libpng[version='>=1.6.32,<1.7.0a0|>=1.6.34,<1.7.0a0|>=1.6.35,<1.7.0a0|>=1.6.37,<1.7.0a0']
scikit-rf -> matplotlib-base -> libpng[version='>=1.6.23,<1.7|>=1.6.35,<1.7.0a0|>=1.6.37,<1.7.0a0|>=1.6.36,<1.7.0a0|>=1.6.34,<1.7.0a0|>=1.6.32,<1.7.0a0']
pyibis-ami=3.3.3 -> matplotlib -> libpng[version='>=1.6.23,<1.7|>=1.6.37,<1.7.0a0|>=1.6.36,<1.7.0a0|>=1.6.35,<1.7.0a0|>=1.6.34,<1.7.0a0|>=1.6.32,<1.7.0a0']
Package libcxxabi conflicts for:
pyside2 -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hcfea43d_1|1|2|0|4|3|hebd6815_0']
python -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hcfea43d_1|1|2|0|4|3|hebd6815_0']
kiwisolver -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hcfea43d_1|1|2|0|4|3|hebd6815_0']
Package six conflicts for:
chaco -> enable[version='>=4.8.0,<4.9'] -> six
scikit-rf -> six
Package kiwisolver conflicts for:
scikit-rf -> matplotlib-base -> kiwisolver[version='>=1.0.1']
kiwisolver
Note that strict channel priority may have removed packages required for satisfiability.
以下是该输出中提到的每个“冲突”包的版本,我相信它们满足所有依赖项的要求:
| Package | Version | Build |
|---|---|---|
| cython | (any) | (any) |
| numpy | 1.19.2 | (any) |
| gdbm | 1.18 | (any) |
| setuptools | 18.5 | (any) |
| ca-certificates | (any) | (any) |
| matplotlib-base | 2.1.2 | (any) |
| libpng | 1.6.35 | (any) |
| libcxxabi | 4.0.1 | hcfea43d_1 |
| six | (any) | (any) |
| kiwisolver | 1.0.1 | (any) |
我很好奇:阅读本文的人是否不同意上述我声称的任何工作版本? (我仍然想知道我是否不太明白如何解释这个输出。)
根据我自己在这里的经验以及我在搜索该主题时发现的内容,在这方面,conda 目前似乎已损坏(即 - 识别真正的冲突)。
谁是合适的人来谈论帮助解决这个问题?
谢谢!
-db
【问题讨论】:
-
是的,这非常令人困惑,但这不是新行为。 Conda 仅列出具有两个或多个指向同一包的依赖链的每个包。因此,大多数得到输出的东西都不是冲突;但是,应该至少有一个包实际上存在合法冲突。
-
谢谢,@merv!我已根据您的评论编辑了我的原始帖子。
-
您可以举报为an issue on the repo。我确实很奇怪没有显示
python的条目。查看您的软件包后,parsec只有一个 Python 3.7 版本,而其他一切都是严格的 Python 3.8,所以我有点怀疑这可能是真正的问题。不过,Conda 应该能正确地捕捉到这一点。 -
就是这样!谢谢!
标签: python anaconda package conda