自从更新了我的 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
12 月2020 年 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.
下面是该输出中提到的每个“冲突”包的版本,我相信它们满足所有家属的要求:
我很好奇:是否有人阅读本文不同意我在上面声明的任何工作版本? (我还在想我是不是不太明白如何解释这个输出。)
根据我自己的经验,在这里,以及我在搜索该主题时发现的内容,似乎很可能 conda
在这方面目前已被打破(即 - 识别真正的冲突)。
谁是合适的人来讨论帮助解决这个问题?
谢谢!
-db
最佳答案
问题原来是 parsec
包被锁定到 Python 3.7,而其他所有东西都要求 3.8。
我不知道为什么 conda
没有在其“冲突”报告中以某种明显的方式报告这一点。
关于python - conda 4.9.2 是否报告假包冲突?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65271787/