PackageNotFoundError: cudnn while passing the arguments in a text file

PackageNotFoundError: cudnn while passing the arguments in a text file

我运行正在执行以下命令 -

conda install -y --file b.txt -p <env_path>

b.txt 的内容 -

cudnn=6.0.0

我收到以下错误 -

    Fetching package metadata .............

PackageNotFoundError: Packages missing in current channels:

  - cudnn 6.0.0

We have searched for the packages in the following channels:

  - https://repo.continuum.io/pkgs/main/linux-64
  - https://repo.continuum.io/pkgs/main/noarch
  - https://repo.continuum.io/pkgs/free/linux-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/linux-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/linux-64
  - https://repo.continuum.io/pkgs/pro/noarch
  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch

cudnn 是 anaconda 频道的一部分。

但是,当我 运行 这样做时,一切正常并且安装了 cudnn -

conda install -y cudnn=6.0.0 -p <env_path>

关于为什么通过文件传递它不起作用的任何指示?

将 cudnn-6.0.0 更改为 cudnn-6.0-0 成功了!