我正试图使用conda install -c conda-forge python=3.6.15在Conda虚拟环境中安装Python3.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版本?
发布于 2022-08-11 08:07:39
您需要有一个非本地运行的环境(即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 anacondahttps://stackoverflow.com/questions/73313653
复制相似问题