Anaconda环境不一致,解决环境失败,PackageNotFoundError,频道无效

时间:2019-07-03 07:26:06

标签: anaconda package-managers

在过去的几个月中,我一直在进行机器/深度学习教程,只是盲目地按照Jupyter笔记本的说明进行操作,而对anaconda的实际工作方式没有深入的了解。

最近,每当我安装所需的软件包(例如pydot)时,我都会收到以下错误消息:

The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::bottleneck==1.2.1=np113py36_0
  - defaults/win-64::h5py==2.7.0=np113py36_0
  - defaults/win-64::numba==0.35.0=np113py36_0
  - defaults/win-64::numexpr==2.6.2=np113py36_0
  - defaults/win-64::pytables==3.2.2=np113py36_4

关于如何解决不一致问题的advice是:

conda install anaconda

但是当我这样做时,我收到了此错误消息

PackagesNotFoundError: The following packages are not available from current channels:

  - pkgs/free/win-64::h5py==2.7.0=np113py36_0 -> hdf5==1.8.15.1
  - pkgs/free/win-64::pytables==3.2.2=np113py36_4 -> hdf5==1.8.15.1

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.

因此,我尝试在Anaconda Navigator中添加频道https://repo.anaconda.com/pkgs/free/win-64,希望能解决PackageNotFoundError问题。但是,它说:无效的频道。

注意:之所以我尝试添加频道https://repo.anaconda.com/pkgs/free/win-64是因为我看到某人遇到similar issue的解决环境失败,并且该人具有以下频道:

channel URLs : 
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/win-64
https://repo.anaconda.com/pkgs/pro/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch

有人可以帮忙解释我做错了什么吗?

谢谢。

0 个答案:

没有答案