[英]Should conda, or conda-forge be used for Python environments?
[英]Older versions of Python not found in conda-forge
我正在尝试使用conda install -c conda-forge python=3.6.15
但不断收到以下错误:
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.6.15
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch
我尝试将 conda-forge 附加到我的频道,但无济于事。 此外,使用conda create -n OldTest python=3.6.15 anaconda
创建新的虚拟环境也会出现相同的错误。 如何使用 Conda 安装我想要的 Python 版本?
您将需要一个非本地运行的环境(即 x64 到 rosetta):
conda create -n oldTF
conda activate oldTF
conda config --env --set subdir osx-64
conda install python tensorflow=x.x #Only put the specific packages that you need here. Probably no reason to inlcude all of anaconda
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.