【发布时间】:2021-12-02 19:50:46
【问题描述】:
我正在尝试使用 Conda 使用 Python 3.7 创建一个新环境,例如:
conda create -n qnn python=3.7
我收到以下错误:
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:
- python==3.7
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/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.
为什么 Python 3.7 显然不可用?
系统详情
这是在运行 macOS 的 Apple Silicon (osx-arm64) 机器上。
【问题讨论】:
-
您的问题是什么?您是否使用过 anaconda.org 上的建议搜索选项或命令行中的
conda search python来查看可用的版本? -
对 arm64 的支持在 conda-forge 上相对较新。我觉得问题在于您请求了旧版本的 python 而 conda-forge 不支持它。此外,我认为现在这是一个有效且明确的问题,不值得结束。
标签: python conda conda-forge