无法在 anaconda 中创建环境

南瓜C

我正在尝试在 conda 中创建一个新环境,但它一直失败并出现以下错误,有关如何解决此问题的任何建议?谢谢!我正在使用:conda create -name deeplearning

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - deeplearning

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/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.
唐纳德

如果您输入 -name deeplearning,conda 会认为您要安装库“deeplearning”,这就是您看到此错误的原因。您可以键入 -n 或 --name 作为正确的命令。-n 是 --name 的快捷方式。

conda create --name deeplearning

您可以通过键入获得有关命令的更多详细信息

conda --help 

conda create --help

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章