PackageNotFoundError:在文本文件中传递参数时cudnn

时间:2018-01-22 13:13:02

标签: anaconda conda cudnn

我正在运行以下命令 -

<link href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" rel="stylesheet" />
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@5/turf.min.js"></script>

<div id="mapid"></div>

b.txt的内容 -

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

我收到以下错误 -

cudnn=6.0.0

cudnn是anaconda频道的一部分。

但是,当我运行它时,一切正常并安装了cudnn -

    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

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

1 个答案:

答案 0 :(得分:0)

将cudnn-6.0.0改为cudnn-6.0-0工作了!