我现在的anaconda只有python 3.8和3.9。
python 3.8.5 h05baefb_8_cpython conda-forge
python 3.8.6 h12cc5a1_1_cpython conda-forge
python 3.8.6 h12cc5a1_2_cpython conda-forge
python 3.8.6 h12cc5a1_3_cpython conda-forge
python 3.8.6 h12cc5a1_4_cpython conda-forge
python 3.8.6 h12cc5a1_5_cpython conda-forge
python 3.8.6 h3098bc4_0_cpython conda-forge
python 3.8.8 h12cc5a1_0_cpython conda-forge
python 3.9.0 h4b4120c_5_cpython conda-forge
python 3.9.0 hd001b3a_0_cpython conda-forge
python 3.9.0 hd001b3a_1_cpython conda-forge
python 3.9.0 hd001b3a_2_cpython conda-forge
python 3.9.0 hd001b3a_3_cpython conda-forge
python 3.9.0 hf1b0709_4_cpython conda-forge
python 3.9.1rc1 h4b4120c_0_cpython conda-forge
python 3.9.1rc1 h4b4120c_1_cpython conda-forge
python 3.9.1 h4b4120c_0_cpython conda-forge
python 3.9.1 hcbd9b3a_1_cpython conda-forge
python 3.9.1 hcbd9b3a_2_cpython conda-forge
python 3.9.1 hcbd9b3a_3_cpython conda-forge
python 3.9.1 hcbd9b3a_4_cpython conda-forge
python 3.9.1 hcbd9b3a_5_cpython conda-forge
python 3.9.2 hcbd9b3a_0_cpython conda-forge这是我输入conda search --full-name python时输出的内容
现在我想安装tensorflowjs,但是我需要tensorflow,但是pip install tensorflow给了我这个错误ERROR: Could not find a version that satisfies the requirement tensorflow ERROR: No matching distribution found for tensorflow
在我的虚拟环境中,我的python版本是3.8.8,但我认为我需要更低的版本,但当我尝试使用conda install -c anaconda python=3.7安装Python3.7时,它会提示我
- python=3.7
Current channels:
- https://conda.anaconda.org/anaconda/osx-arm64
- https://conda.anaconda.org/anaconda/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
- 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.我不知道如何在我的conda中获得python 3.7,请帮帮我!
发布于 2021-03-13 07:40:55
所以我解决了这个问题...我使用https://nektony.com/mac-app-cleaner从我的苹果电脑上完全删除了蟒蛇,我的频道完全被破坏了,但现在我可以使用以前的Python版本了。另外,我认为它们被损坏的原因是因为我确实遵循了为M1 Mac安装tensorflow分支的教程,这可能会损坏一些东西。
发布于 2021-03-13 05:20:23
试一试
conda create -n "testenv" python=3.7 -c conda-forge这适用于conda版本的4.9.2。
对于信息,当conda变得有限时,conda-forge有时可以提供替代方案。
https://stackoverflow.com/questions/66607225
复制相似问题