【发布时间】:2021-06-10 21:40:55
【问题描述】:
我目前的 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 安装 python 3.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,请帮助!
【问题讨论】: