{conda install`报告无法找到`conda search`找到的软件包?

时间:2019-07-16 22:50:24

标签: python anaconda conda

尝试安装软件包时出现此错误:

(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

有人知道发生了什么事吗?

1 个答案:

答案 0 :(得分:0)

这是由于pybert包的两个依赖关系被锁定到Python 2.7而Python本身却在呼吁Python 3.7。

如果在错误消息中看到其他两个软件包的名称,我肯定会很高兴。 :(