Conda can’t install python – Stack Overflow

PackagesNotFoundError: The following packages are not available from current channels:
Python

The Ways I try:

  1. conda install python=3.9
(C:\ai) C:\Users\原神>conda install python=3.9
Channels:
 - conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.9

Current channels:

  - https://conda.anaconda.org/conda-forge

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.
  1. conda install python=3.10
    It looks like your post is mostly code; please add some more details. i can't post, so i remove the code block in here
    (C:\ai) C:\Users>conda install python=3.10
    Channels:
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

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.

  1. conda search python
(C:\ai) C:\Users>conda search python
Loading channels: done
# Name                       Version           Build  Channel
...
python                        3.13.3 hd7c436d_1_cp313t  conda-forge
python                        3.13.5 h261c0b1_100_cp313  conda-forge
python                        3.13.5 h261c0b1_101_cp313  conda-forge
python                        3.13.5 h7de537c_102_cp313  conda-forge
python                        3.13.5 h9100add_2_cp313t  conda-forge
python                        3.13.5 hd7c436d_0_cp313t  conda-forge
python                        3.13.5 hd7c436d_1_cp313t  conda-forge
python                        3.13.7 h326d9c1_0_cp313t  conda-forge
python                        3.13.7 hdf00ec1_100_cp313  conda-forge
python                     3.14.0rc1 h6fd79ff_102_cp314  conda-forge
python                     3.14.0rc1 hb64bd5b_2_cp314t  conda-forge
python                     3.14.0rc2 h6fd79ff_100_cp314  conda-forge
python                     3.14.0rc2 hb64bd5b_0_cp314t  conda-forge
python                     3.14.0rc3 h6fd79ff_100_cp314  conda-forge
python                     3.14.0rc3 hb64bd5b_0_cp314t  conda-forge
  1. conda install python=3.13.7
(C:\ai) C:\Users>conda install python=3.13.7
Channels:
 - conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.13.7

Current channels:

  - https://conda.anaconda.org/conda-forge

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.
  1. conda install python=3.13.7 -c conda-forge
(C:\ai) C:\Users>conda install python=3.13.7 -c conda-forge
Channels:
 - conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.13.7

Current channels:

  - https://conda.anaconda.org/conda-forge

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.

All Failed
What’s Wrong?

Read more here: Source link