我在尝试安装软件包时收到此错误:
(pybert-tst)
dbanas@Davids-MacBook-Pro:~/Documents/Projects/PyBERT
$ conda install -c dbanas pybert
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- pybert
Use "conda search <package> --info" to see the dependencies for each package.
但是,当我搜索时,我看到了 pybert
包:
(pybert-tst)
dbanas@Davids-MacBook-Pro:~/Documents/Projects/PyBERT
$ conda search -c dbanas pybert --info
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Loading channels: done
pybert 3.1.0 pyh7b7c402_2
-------------------------
file name : pybert-3.1.0-pyh7b7c402_2.tar.bz2
name : pybert
version : 3.1.0
build : pyh7b7c402_2
build number: 2
size : 235 KB
license : BSD License
subdir : noarch
url : https://conda.anaconda.org/dbanas/noarch/pybert-3.1.0-pyh7b7c402_2.tar.bz2
md5 : 9537824117ffca8bd024f74cd0f44c7a
timestamp : 2019-07-16 22:18:08 UTC
dependencies:
- chaco
- docutils
- enable
- jinja2
- kiwisolver
- numpy
- pygments
- pyibis-ami >=3.0.0
- python >=3.7.0,<3.8
- scikit-rf
- scipy
- sphinx
- traits
- traitsui
有谁知道这是怎么回事吗?
最佳答案
这是由于 pybert
包的两个依赖项被锁定到 Python 2.7,而 Python 本身正在调用 Python 3.7。
如果能在错误消息中看到其他两个包的名称,我当然会很高兴。 :(
关于python - `conda install` 报告找不到 `conda search` 找到的包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57066414/