无法在anaconda中创建环境

fail to create environment in anaconda

我正在尝试在 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.

conda create --name deeplearning

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

conda create --name deeplearning

您可以通过键入

获得有关命令的更多详细信息
conda --help 

conda create --help