首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >向Anaconda添加Python 3.7

向Anaconda添加Python 3.7
EN

Stack Overflow用户
提问于 2021-03-13 05:09:22
回答 2查看 1.4K关注 0票数 0

我现在的anaconda只有python 3.8和3.9。

代码语言:javascript
运行
复制
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时,它会提示我

代码语言:javascript
运行
复制
  - 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,请帮帮我!

EN

回答 2

Stack Overflow用户

发布于 2021-03-13 07:40:55

所以我解决了这个问题...我使用https://nektony.com/mac-app-cleaner从我的苹果电脑上完全删除了蟒蛇,我的频道完全被破坏了,但现在我可以使用以前的Python版本了。另外,我认为它们被损坏的原因是因为我确实遵循了为M1 Mac安装tensorflow分支的教程,这可能会损坏一些东西。

票数 0
EN

Stack Overflow用户

发布于 2021-03-13 05:20:23

试一试

代码语言:javascript
运行
复制
conda create -n "testenv" python=3.7 -c conda-forge

这适用于conda版本的4.9.2

对于信息,当conda变得有限时,conda-forge有时可以提供替代方案。

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66607225

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档