简体   繁体   English

在 anaconda 中创建环境失败

[英]fail to create environment in anaconda

i am trying to create a new environment in conda but it keep failing with the following error, any suggestion on how to fix this?我正在尝试在 conda 中创建一个新环境,但它一直失败并出现以下错误,有关如何解决此问题的任何建议? Thanks: i am using: conda create -name deeplearning谢谢:我正在使用: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.

conda create --name deeplearning

If you type in -name deeplearning, conda will think you want to install the library "deeplearning", that is why you see this error.如果您输入 -name deeplearning,conda 会认为您要安装库“deeplearning”,这就是您看到此错误的原因。 You can either type -n or --name as the correct command.您可以键入 -n 或 --name 作为正确的命令。 -n is the shortcut for --name. -n 是 --name 的快捷方式。

conda create --name deeplearning

you can get more details on commands by typing您可以通过键入获取有关命令的更多详细信息

conda --help 

and

conda create --help

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM