Environment set up

(base) C:\Users\小明>conda create --prefix D:\Anaconda3\envs\pytorch_env python=3.10
3 channel Terms of Service accepted
Retrieving notices: done
Channels:

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

  • python=3.10

Hi — thanks for reporting this.

The PackagesNotFoundError for python=3.10 is almost certainly a channel issue, since multiple versions of Python 3.10 are definitely available on our defaults channel for win-64.

A couple of things to check:

Could you share the output of conda config --show channels and conda config --show default_channels? That will help us see your full channel setup. It looks like you’re using Tsinghua mirrors, and sometimes those mirrors have been filtered which can cause resolution failures like this.

As a quick test, try creating the environment with our channel explicitly:

conda create --prefix D:\Anaconda3\envs\pytorch_env python=3.10 -c https://repo.anaconda.com/pkgs/main/

If that works, the issue is with one of your configured mirror channels. If it fails with a connection error, that likely means there’s a network restriction between you and repo.anaconda.com, and we can help troubleshoot from there.

You can also run conda search python to see which versions of Python are available across all of your configured channels. That can help pinpoint where the gap is.

Also worth flagging that this could be related to issues that are currently being investigated related to anaconda.org.

You can keep up with status on Anaconda Status - Increased error rate on anaconda.org

Thank you very much for replying. The result is as below, maybe there is something wrong in connection with repo.anaconda.com. And I wonder if I can download Python through my configured channels. Looking forward to your suggestions.

(base) C:\Users\魏倩>conda search python
3 channel Terms of Service accepted
Loading channels: done

Name Version Build Channel

python 2.7.12 0 anaconda/cloud/conda-forge
python 2.7.12 1 anaconda/cloud/conda-forge
python 2.7.12 2 anaconda/cloud/conda-forge
python 2.7.13 1 anaconda/cloud/conda-forge
python 2.7.13 h1b6d89f_16 anaconda/pkgs/main
python 2.7.13 h1b6d89f_16 pkgs/main
python 2.7.13 h9912b81_15 anaconda/pkgs/main
python 2.7.13 h9912b81_15 pkgs/main
python 2.7.13 hb034564_12 anaconda/pkgs/main
python 2.7.13 hb034564_12 pkgs/main
python 2.7.14 0 anaconda/cloud/conda-forge
python 2.7.14 1 anaconda/cloud/conda-forge
python 2.7.14 2 anaconda/cloud/conda-forge
python 2.7.14 3 anaconda/cloud/conda-forge
python 2.7.14 4 anaconda/cloud/conda-forge
python 2.7.14 5 anaconda/cloud/conda-forge
python 2.7.14 h2765ee6_18 anaconda/pkgs/main
python 2.7.14 h2765ee6_18 pkgs/main
python 2.7.14 h3e68818_15 anaconda/pkgs/main
python 2.7.14 h3e68818_15 pkgs/main
python 2.7.14 h4084c39_22 anaconda/pkgs/main
python 2.7.14 h4084c39_22 pkgs/main
python 2.7.14 h4a10d90_30 anaconda/pkgs/main
python 2.7.14 h4a10d90_30 pkgs/main
python 2.7.14 h4a10d90_31 anaconda/pkgs/main
python 2.7.14 h4a10d90_31 pkgs/main
python 2.7.14 h59f5a59_20 anaconda/pkgs/main
python 2.7.14 h59f5a59_20 pkgs/main
python 2.7.14 h819644d_16 anaconda/pkgs/main
python 2.7.14 h819644d_16 pkgs/main
python 2.7.14 h8c3f1cb_23 anaconda/pkgs/main
python 2.7.14 h8c3f1cb_23 pkgs/main
python 2.7.15 0 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_0 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1001 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1002 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1003 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1004 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1005 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1006 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1008 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1009 anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1010_cpython anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_1011_cpython anaconda/cloud/conda-forge
python 2.7.15 h2880e7c_2 anaconda/pkgs/main
python 2.7.15 h2880e7c_2 pkgs/main
python 2.7.15 h2880e7c_3 anaconda/pkgs/main
python 2.7.15 h2880e7c_3 pkgs/main
python 2.7.15 h2880e7c_4 anaconda/pkgs/main
python 2.7.15 h2880e7c_4 pkgs/main
python 2.7.15 hcb6e200_15 anaconda/pkgs/main
python 2.7.15 hcb6e200_15 pkgs/main
python 2.7.15 hcb6e200_5 anaconda/pkgs/main
python 2.7.15 hcb6e200_5 pkgs/main
python 2.7.15 hcb6e200_7 anaconda/pkgs/main
python 2.7.15 hcb6e200_7 pkgs/main
python 2.7.15 he216670_0 anaconda/pkgs/main
python 2.7.15 he216670_0 pkgs/main
python 2.7.16 hcb6e200_0 anaconda/pkgs/main
python 2.7.16 hcb6e200_0 pkgs/main
python 2.7.17 h930f6bb_0 anaconda/pkgs/main
python 2.7.17 h930f6bb_0 pkgs/main
python 2.7.18 hcb6e200_0 anaconda/pkgs/main
python 2.7.18 hcb6e200_0 pkgs/main
python 2.7.18 hfb89ab9_0 anaconda/pkgs/main
python 2.7.18 hfb89ab9_0 pkgs/main
python 3.4.5 0 anaconda/cloud/conda-forge
python 3.4.5 1 anaconda/cloud/conda-forge
python 3.4.5 2 anaconda/cloud/conda-forge
python 3.5.1 0 anaconda/cloud/conda-forge
python 3.5.1 1 anaconda/cloud/conda-forge
python 3.5.2 0 anaconda/cloud/conda-forge
python 3.5.2 1 anaconda/cloud/conda-forge
python 3.5.2 2 anaconda/cloud/conda-forge
python 3.5.2 4 anaconda/cloud/conda-forge
python 3.5.2 5 anaconda/cloud/conda-forge
python 3.5.3 0 anaconda/cloud/conda-forge
python 3.5.3 1 anaconda/cloud/conda-forge
python 3.5.3 2 anaconda/cloud/conda-forge
python 3.5.3 3 anaconda/cloud/conda-forge
python 3.5.4 0 anaconda/cloud/conda-forge
python 3.5.4 1 anaconda/cloud/conda-forge
python 3.5.4 2 anaconda/cloud/conda-forge
python 3.5.4 3 anaconda/cloud/conda-forge
python 3.5.4 h1357f44_23 anaconda/pkgs/main
python 3.5.4 h1357f44_23 pkgs/main
python 3.5.4 hc495aa9_21 anaconda/pkgs/main
python 3.5.4 hc495aa9_21 pkgs/main
python 3.5.4 hd3c4935_11 anaconda/pkgs/main
python 3.5.4 hd3c4935_11 pkgs/main
python 3.5.4 hdec4e59_20 anaconda/pkgs/main
python 3.5.4 hdec4e59_20 pkgs/main
python 3.5.4 hedc2606_15 anaconda/pkgs/main
python 3.5.4 hedc2606_15 pkgs/main
python 3.5.5 0 anaconda/cloud/conda-forge
python 3.5.5 1 anaconda/cloud/conda-forge
python 3.5.5 h0c2934d_0 anaconda/pkgs/main
python 3.5.5 h0c2934d_0 pkgs/main
python 3.5.5 h0c2934d_1 anaconda/pkgs/main
python 3.5.5 h0c2934d_1 pkgs/main
python 3.5.5 h0c2934d_2 anaconda/pkgs/main
python 3.5.5 h0c2934d_2 pkgs/main
python 3.5.5 he025d50_2 anaconda/cloud/conda-forge
python 3.5.6 he025d50_0 anaconda/pkgs/main
python 3.5.6 he025d50_0 pkgs/main
python 3.6.0a3 0 anaconda/cloud/conda-forge
python 3.6.0a4 0 anaconda/cloud/conda-forge
python 3.6.0b1 0 anaconda/cloud/conda-forge
python 3.6.0b2 0 anaconda/cloud/conda-forge
python 3.6.0b3 0 anaconda/cloud/conda-forge
python 3.6.0b4 0 anaconda/cloud/conda-forge
python 3.6.0rc1 0 anaconda/cloud/conda-forge
python 3.6.0 0 anaconda/cloud/conda-forge
python 3.6.0 1 anaconda/cloud/conda-forge
python 3.6.0 2 anaconda/cloud/conda-forge
python 3.6.1 0 anaconda/cloud/conda-forge
python 3.6.1 1 anaconda/cloud/conda-forge
python 3.6.1 2 anaconda/cloud/conda-forge
python 3.6.1 3 anaconda/cloud/conda-forge
python 3.6.2 0 anaconda/cloud/conda-forge
python 3.6.2 h09676a0_15 anaconda/pkgs/main
python 3.6.2 h09676a0_15 pkgs/main
python 3.6.2 h6679aeb_11 anaconda/pkgs/main
python 3.6.2 h6679aeb_11 pkgs/main
python 3.6.3 0 anaconda/cloud/conda-forge
python 3.6.3 1 anaconda/cloud/conda-forge
python 3.6.3 2 anaconda/cloud/conda-forge
python 3.6.3 3 anaconda/cloud/conda-forge
python 3.6.3 4 anaconda/cloud/conda-forge
python 3.6.3 h210ce5f_2 anaconda/pkgs/main
python 3.6.3 h210ce5f_2 pkgs/main
python 3.6.3 h3389d20_0 anaconda/pkgs/main
python 3.6.3 h3389d20_0 pkgs/main
python 3.6.3 h3b118a2_4 anaconda/pkgs/main
python 3.6.3 h3b118a2_4 pkgs/main
python 3.6.3 h9e2ca53_1 anaconda/pkgs/main
python 3.6.3 h9e2ca53_1 pkgs/main
python 3.6.4 0 anaconda/cloud/conda-forge
python 3.6.4 h0c2934d_2 anaconda/pkgs/main
python 3.6.4 h0c2934d_2 pkgs/main
python 3.6.4 h0c2934d_3 anaconda/pkgs/main
python 3.6.4 h0c2934d_3 pkgs/main
python 3.6.4 h6538335_0 anaconda/pkgs/main
python 3.6.4 h6538335_0 pkgs/main
python 3.6.4 h6538335_1 anaconda/pkgs/main
python 3.6.4 h6538335_1 pkgs/main
python 3.6.5 0 anaconda/cloud/conda-forge
python 3.6.5 1 anaconda/cloud/conda-forge
python 3.6.5 h0c2934d_0 anaconda/pkgs/main
python 3.6.5 h0c2934d_0 pkgs/main
python 3.6.6 he025d50_0 anaconda/cloud/conda-forge
python 3.6.6 hea74fb7_0 anaconda/pkgs/main
python 3.6.6 hea74fb7_0 pkgs/main
python 3.6.7 h33f27b4_0 anaconda/pkgs/main
python 3.6.7 h33f27b4_0 pkgs/main
python 3.6.7 h33f27b4_1 anaconda/pkgs/main
python 3.6.7 h33f27b4_1 pkgs/main
python 3.6.7 h9f7ef89_2 anaconda/pkgs/main
python 3.6.7 h9f7ef89_2 pkgs/main
python 3.6.7 he025d50_1002 anaconda/cloud/conda-forge
python 3.6.7 he025d50_1004 anaconda/cloud/conda-forge
python 3.6.7 he025d50_1005 anaconda/cloud/conda-forge
python 3.6.7 he025d50_1006 anaconda/cloud/conda-forge
python 3.6.7 he025d50_1008_cpython anaconda/cloud/conda-forge
python 3.6.8 h9f7ef89_0 anaconda/pkgs/main
python 3.6.8 h9f7ef89_0 pkgs/main
python 3.6.8 h9f7ef89_1 anaconda/pkgs/main
python 3.6.8 h9f7ef89_1 pkgs/main
python 3.6.8 h9f7ef89_7 anaconda/pkgs/main
python 3.6.8 h9f7ef89_7 pkgs/main
python 3.6.9 h5500b2f_0 anaconda/pkgs/main
python 3.6.9 h5500b2f_0 pkgs/main
python 3.6.9 he025d50_0_cpython anaconda/cloud/conda-forge
python 3.6.10 h9f7ef89_0 anaconda/pkgs/main
python 3.6.10 h9f7ef89_0 pkgs/main
python 3.6.10 h9f7ef89_1 anaconda/pkgs/main
python 3.6.10 h9f7ef89_1 pkgs/main
python 3.6.10 h9f7ef89_2 anaconda/pkgs/main
python 3.6.10 h9f7ef89_2 pkgs/main
python 3.6.10 he025d50_1009_cpython anaconda/cloud/conda-forge
python 3.6.11 h39d44d4_3_cpython anaconda/cloud/conda-forge
python 3.6.11 h6a66eb0_2_cpython anaconda/cloud/conda-forge
python 3.6.11 h6f26aa1_2_cpython anaconda/cloud/conda-forge
python 3.6.11 h9303ea8_2_cpython anaconda/cloud/conda-forge
python 3.6.12 h39d44d4_0_cpython anaconda/cloud/conda-forge
python 3.6.12 h5500b2f_2 anaconda/pkgs/main
python 3.6.12 h5500b2f_2 pkgs/main
python 3.6.13 h3758d61_0 anaconda/pkgs/main
python 3.6.13 h3758d61_0 pkgs/main
python 3.6.13 h39d44d4_0_cpython anaconda/cloud/conda-forge
python 3.6.13 h39d44d4_1_cpython anaconda/cloud/conda-forge
python 3.6.13 h39d44d4_2_cpython anaconda/cloud/conda-forge
python 3.6.15 h39d44d4_0_cpython anaconda/cloud/conda-forge
python 3.7.0 h1ce479f_0 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1002 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1003 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1004 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1005 anaconda/cloud/conda-forge
python 3.7.0 hc182675_1006 anaconda/cloud/conda-forge
python 3.7.0 hea74fb7_0 anaconda/pkgs/main
python 3.7.0 hea74fb7_0 pkgs/main
python 3.7.1 h33f27b4_3 anaconda/pkgs/main
python 3.7.1 h33f27b4_3 pkgs/main
python 3.7.1 h33f27b4_4 anaconda/pkgs/main
python 3.7.1 h33f27b4_4 pkgs/main
python 3.7.1 h8c8aaf0_6 anaconda/pkgs/main
python 3.7.1 h8c8aaf0_6 pkgs/main
python 3.7.1 h9460c21_1002 anaconda/cloud/conda-forge
python 3.7.1 h9460c21_1003 anaconda/cloud/conda-forge
python 3.7.1 hc182675_1000 anaconda/cloud/conda-forge
python 3.7.1 hc182675_1001 anaconda/cloud/conda-forge
python 3.7.1 he44a216_5 anaconda/pkgs/main
python 3.7.1 he44a216_5 pkgs/main
python 3.7.2 h8c8aaf0_0 anaconda/pkgs/main
python 3.7.2 h8c8aaf0_0 pkgs/main
python 3.7.2 h8c8aaf0_10 anaconda/pkgs/main
python 3.7.2 h8c8aaf0_10 pkgs/main
python 3.7.2 h8c8aaf0_2 anaconda/pkgs/main
python 3.7.2 h8c8aaf0_2 pkgs/main
python 3.7.2 hb12ca83_0 anaconda/cloud/conda-forge
python 3.7.3 h510b542_1 anaconda/cloud/conda-forge
python 3.7.3 h8c8aaf0_0 anaconda/pkgs/main
python 3.7.3 h8c8aaf0_0 pkgs/main
python 3.7.3 h8c8aaf0_1 anaconda/pkgs/main
python 3.7.3 h8c8aaf0_1 pkgs/main
python 3.7.3 hb12ca83_0 anaconda/cloud/conda-forge
python 3.7.4 h5263a28_0 anaconda/pkgs/main
python 3.7.4 h5263a28_0 pkgs/main
python 3.7.5 h7840368_0_cpython anaconda/cloud/conda-forge
python 3.7.5 h8c8aaf0_0 anaconda/pkgs/main
python 3.7.5 h8c8aaf0_0 pkgs/main
python 3.7.6 cpython_h60c2a47_6 anaconda/cloud/conda-forge
python 3.7.6 h5b45d93_1 anaconda/cloud/conda-forge
python 3.7.6 h5b45d93_2 anaconda/cloud/conda-forge
python 3.7.6 h5b45d93_3_cpython anaconda/cloud/conda-forge
python 3.7.6 h5b45d93_4_cpython anaconda/cloud/conda-forge
python 3.7.6 h60c2a47_2 anaconda/pkgs/main
python 3.7.6 h60c2a47_2 pkgs/main
python 3.7.6 h60c2a47_5_cpython anaconda/cloud/conda-forge
python 3.7.7 h60c2a47_0_cpython anaconda/pkgs/main
python 3.7.7 h60c2a47_0_cpython pkgs/main
python 3.7.7 h60c2a47_2 anaconda/pkgs/main
python 3.7.7 h60c2a47_2 pkgs/main
python 3.7.7 h81c818b_4 anaconda/pkgs/main
python 3.7.7 h81c818b_4 pkgs/main
python 3.7.8 h60c2a47_0_cpython anaconda/cloud/conda-forge
python 3.7.8 h60c2a47_1_cpython anaconda/cloud/conda-forge
python 3.7.8 h7840368_2_cpython anaconda/cloud/conda-forge
python 3.7.8 h7840368_3_cpython anaconda/cloud/conda-forge
python 3.7.9 h60c2a47_0 anaconda/pkgs/main
python 3.7.9 h60c2a47_0 pkgs/main
python 3.7.9 h7840368_0_cpython anaconda/cloud/conda-forge
python 3.7.9 h7840368_100_cpython anaconda/cloud/conda-forge
python 3.7.10 0_73_pypy anaconda/cloud/conda-forge
python 3.7.10 1_73_pypy anaconda/cloud/conda-forge
python 3.7.10 h6244533_0 anaconda/pkgs/main
python 3.7.10 h6244533_0 pkgs/main
python 3.7.10 h7840368_100_cpython anaconda/cloud/conda-forge
python 3.7.10 h7840368_101_cpython anaconda/cloud/conda-forge
python 3.7.10 h7840368_102_cpython anaconda/cloud/conda-forge
python 3.7.10 h7840368_103_cpython anaconda/cloud/conda-forge
python 3.7.10 h7840368_104_cpython anaconda/cloud/conda-forge
python 3.7.10 h900ac77_102_cpython anaconda/cloud/conda-forge
python 3.7.10 h900ac77_103_cpython anaconda/cloud/conda-forge
python 3.7.10 h900ac77_104_cpython anaconda/cloud/conda-forge
python 3.7.11 h6244533_0 anaconda/pkgs/main
python 3.7.11 h6244533_0 pkgs/main
python 3.7.12 0_73_pypy anaconda/cloud/conda-forge
python 3.7.12 h7840368_100_cpython anaconda/cloud/conda-forge
python 3.7.12 h900ac77_100_cpython anaconda/cloud/conda-forge
python 3.7.13 h6244533_0 anaconda/pkgs/main
python 3.7.13 h6244533_0 pkgs/main
python 3.7.13 h6244533_1 anaconda/pkgs/main
python 3.7.13 h6244533_1 pkgs/main
python 3.7.15 h6244533_0 anaconda/pkgs/main
python 3.7.15 h6244533_0 pkgs/main
python 3.7.15 h6244533_1 anaconda/pkgs/main
python 3.7.15 h6244533_1 pkgs/main
python 3.7.16 h6244533_0 anaconda/pkgs/main
python 3.7.16 h6244533_0 pkgs/main
python 3.8.0 hc9e8b01_0 anaconda/cloud/conda-forge
python 3.8.0 hc9e8b01_1 anaconda/cloud/conda-forge
python 3.8.0 hc9e8b01_2 anaconda/cloud/conda-forge
python 3.8.0 hc9e8b01_3 anaconda/cloud/conda-forge
python 3.8.0 hc9e8b01_5 anaconda/cloud/conda-forge
python 3.8.0 hff0d562_0 anaconda/pkgs/main
python 3.8.0 hff0d562_0 pkgs/main
python 3.8.0 hff0d562_1 anaconda/pkgs/main
python 3.8.0 hff0d562_1 pkgs/main
python 3.8.0 hff0d562_2 anaconda/pkgs/main
python 3.8.0 hff0d562_2 pkgs/main
python 3.8.1 h5fd99cc_1 anaconda/pkgs/main
python 3.8.1 h5fd99cc_1 pkgs/main
python 3.8.1 h5fd99cc_8_cpython anaconda/pkgs/main
python 3.8.1 h5fd99cc_8_cpython pkgs/main
python 3.8.1 he1778fa_7_cpython anaconda/pkgs/main
python 3.8.1 he1778fa_7_cpython pkgs/main
python 3.8.1 he1f5543_1 anaconda/cloud/conda-forge
python 3.8.1 he1f5543_2 anaconda/cloud/conda-forge
python 3.8.2 h5fd99cc_0 anaconda/pkgs/main
python 3.8.2 h5fd99cc_0 pkgs/main
python 3.8.2 h5fd99cc_11 anaconda/pkgs/main
python 3.8.2 h5fd99cc_11 pkgs/main
python 3.8.2 h5fd99cc_4_cpython anaconda/cloud/conda-forge
python 3.8.2 h5fd99cc_5_cpython anaconda/cloud/conda-forge
python 3.8.2 h5fd99cc_6_cpython anaconda/cloud/conda-forge
python 3.8.2 h5fd99cc_7_cpython anaconda/cloud/conda-forge
python 3.8.2 he1778fa_13 anaconda/pkgs/main
python 3.8.2 he1778fa_13 pkgs/main
python 3.8.3 cpython_h5fd99cc_0 anaconda/cloud/conda-forge
python 3.8.3 he1778fa_0 anaconda/pkgs/main
python 3.8.3 he1778fa_0 pkgs/main
python 3.8.3 he1778fa_2 anaconda/pkgs/main
python 3.8.3 he1778fa_2 pkgs/main
python 3.8.4 cpython_h5fd99cc_0 anaconda/cloud/conda-forge
python 3.8.5 cpython_h5fd99cc_0 anaconda/cloud/conda-forge
python 3.8.5 h5fd99cc_1 anaconda/pkgs/main
python 3.8.5 h5fd99cc_1 pkgs/main
python 3.8.5 h5fd99cc_1_cpython anaconda/cloud/conda-forge
python 3.8.5 h5fd99cc_2_cpython anaconda/cloud/conda-forge
python 3.8.5 h60c2a47_6_cpython anaconda/cloud/conda-forge
python 3.8.5 h60c2a47_7_cpython anaconda/cloud/conda-forge
python 3.8.5 h60c2a47_8_cpython anaconda/cloud/conda-forge
python 3.8.5 h60c2a47_9_cpython anaconda/cloud/conda-forge
python 3.8.5 he1778fa_0 anaconda/pkgs/main
python 3.8.5 he1778fa_0 pkgs/main
python 3.8.6 h60c2a47_0_cpython anaconda/cloud/conda-forge
python 3.8.6 h7840368_1_cpython anaconda/cloud/conda-forge
python 3.8.6 h7840368_2_cpython anaconda/cloud/conda-forge
python 3.8.6 h7840368_3_cpython anaconda/cloud/conda-forge
python 3.8.6 h7840368_4_cpython anaconda/cloud/conda-forge
python 3.8.6 h7840368_5_cpython anaconda/cloud/conda-forge
python 3.8.8 h7840368_0_cpython anaconda/cloud/conda-forge
python 3.8.8 hdbf39b2_4 anaconda/pkgs/main
python 3.8.8 hdbf39b2_4 pkgs/main
python 3.8.8 hdbf39b2_5 anaconda/pkgs/main
python 3.8.8 hdbf39b2_5 pkgs/main
python 3.8.10 h7840368_0_cpython anaconda/cloud/conda-forge
python 3.8.10 h7840368_1_cpython anaconda/cloud/conda-forge
python 3.8.10 h7840368_2_cpython anaconda/cloud/conda-forge
python 3.8.10 hdbf39b2_7 anaconda/pkgs/main
python 3.8.10 hdbf39b2_7 pkgs/main
python 3.8.11 h6244533_1 anaconda/pkgs/main
python 3.8.11 h6244533_1 pkgs/main
python 3.8.12 0_73_pypy anaconda/cloud/conda-forge
python 3.8.12 h6244533_0 anaconda/pkgs/main
python 3.8.12 h6244533_0 pkgs/main
python 3.8.12 h7840368_0_cpython anaconda/cloud/conda-forge
python 3.8.12 h7840368_1_cpython anaconda/cloud/conda-forge
python 3.8.12 h7840368_2_cpython anaconda/cloud/conda-forge
python 3.8.12 h900ac77_1_cpython anaconda/cloud/conda-forge
python 3.8.12 h900ac77_2_cpython anaconda/cloud/conda-forge
python 3.8.13 0_73_pypy anaconda/cloud/conda-forge
python 3.8.13 h6244533_0 anaconda/pkgs/main
python 3.8.13 h6244533_0 pkgs/main
python 3.8.13 h6244533_1 anaconda/pkgs/main
python 3.8.13 h6244533_1 pkgs/main
python 3.8.13 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.8.13 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.8.14 h0269646_0_cpython anaconda/cloud/conda-forge
python 3.8.14 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.8.15 h0269646_0_cpython anaconda/cloud/conda-forge
python 3.8.15 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.8.15 h4de0772_1_cpython anaconda/cloud/conda-forge
(due to the word limit,I can’t list it all)

Thanks for sharing those details — this helps narrow things down.

Before we go further, could you run this:

conda search python=3.10

Your earlier conda search python output was cut off by the forum text limit, so we couldn’t see whether Python 3.10 is available from your configured channels. Filtering to python=3.10 will keep the output short enough to post here.

If that returns results, it means Python 3.10 is available from your channels but something in the solver is preventing it from being installed. We can troubleshoot from there.

If that returns no results, it means none of your currently configured channels are serving Python 3.10. In that case, try this:

conda create --prefix D:\Anaconda3\envs\pytorch_env python=3.10 -c https://repo.anaconda.com/pkgs/main/ --override-channels

A note on why this is different from what you tried before: when you used the -c flag on its own, it added repo.anaconda.com/pkgs/main to your existing channels but didn’t remove them. That’s why you still saw all of the Tsinghua mirrors in the channel list. The --override-channels flag tells conda to ignore your configured channels entirely and only use the one you specify. This lets us test whether repo.anaconda.com is reachable from your network and whether Python 3.10 can be installed from it directly.

Also — are you required to use the Tsinghua mirrors due to network restrictions? If your network blocks access to repo.anaconda.com, the above command won’t work, and we’d need to focus on why the mirrors aren’t serving Python 3.10 instead. This would likely need to include the team that owns the mirroring process.

Thank you very much! I got result as below, what can I do? And I don’t need to use Tsinghua channels necessarily.I use the original Anaconda’s channels and it didn‘t work. So I change the channels to solve it, but they both didn‘t work and show Solving environment: failed. Thank you very much for help!

(base) C:\Users\魏倩>conda search python=3.10
3 channel Terms of Service accepted
Loading channels: done

Name Version Build Channel

python 3.10.0 h96c0403_3 anaconda/pkgs/main
python 3.10.0 h96c0403_3 pkgs/main
python 3.10.0 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.0 h9a09f29_1_cpython anaconda/cloud/conda-forge
python 3.10.0 h9a09f29_2_cpython anaconda/cloud/conda-forge
python 3.10.0 h9a09f29_3_cpython anaconda/cloud/conda-forge
python 3.10.0 hbb2ffb3_0 anaconda/pkgs/main
python 3.10.0 hbb2ffb3_0 pkgs/main
python 3.10.0 hbb2ffb3_1 anaconda/pkgs/main
python 3.10.0 hbb2ffb3_1 pkgs/main
python 3.10.0 hbb2ffb3_2 anaconda/pkgs/main
python 3.10.0 hbb2ffb3_2 pkgs/main
python 3.10.0 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.0 hcf16a7b_1_cpython anaconda/cloud/conda-forge
python 3.10.0 hcf16a7b_2_cpython anaconda/cloud/conda-forge
python 3.10.0 hcf16a7b_3_cpython anaconda/cloud/conda-forge
python 3.10.1 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.1 h9a09f29_1_cpython anaconda/cloud/conda-forge
python 3.10.1 h9a09f29_2_cpython anaconda/cloud/conda-forge
python 3.10.1 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.1 hcf16a7b_1_cpython anaconda/cloud/conda-forge
python 3.10.1 hcf16a7b_2_cpython anaconda/cloud/conda-forge
python 3.10.2 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.2 h9a09f29_1_cpython anaconda/cloud/conda-forge
python 3.10.2 h9a09f29_2_cpython anaconda/cloud/conda-forge
python 3.10.2 h9a09f29_3_cpython anaconda/cloud/conda-forge
python 3.10.2 h9a09f29_4_cpython anaconda/cloud/conda-forge
python 3.10.2 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.2 hcf16a7b_1_cpython anaconda/cloud/conda-forge
python 3.10.2 hcf16a7b_2_cpython anaconda/cloud/conda-forge
python 3.10.2 hcf16a7b_3_cpython anaconda/cloud/conda-forge
python 3.10.2 hcf16a7b_4_cpython anaconda/cloud/conda-forge
python 3.10.3 hbb2ffb3_5 anaconda/pkgs/main
python 3.10.3 hbb2ffb3_5 pkgs/main
python 3.10.4 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.4 hbb2ffb3_0 anaconda/pkgs/main
python 3.10.4 hbb2ffb3_0 pkgs/main
python 3.10.4 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.5 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.5 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.6 h9a09f29_0_cpython anaconda/cloud/conda-forge
python 3.10.6 hbb2ffb3_0 anaconda/pkgs/main
python 3.10.6 hbb2ffb3_0 pkgs/main
python 3.10.6 hbb2ffb3_1 anaconda/pkgs/main
python 3.10.6 hbb2ffb3_1 pkgs/main
python 3.10.6 hcf16a7b_0_cpython anaconda/cloud/conda-forge
python 3.10.7 h0269646_0_cpython anaconda/cloud/conda-forge
python 3.10.7 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.8 h0269646_0_cpython anaconda/cloud/conda-forge
python 3.10.8 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.8 h966fe2a_1 anaconda/pkgs/main
python 3.10.8 h966fe2a_1 pkgs/main
python 3.10.8 hbb2ffb3_0 anaconda/pkgs/main
python 3.10.8 hbb2ffb3_0 pkgs/main
python 3.10.9 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.9 h966fe2a_0 anaconda/pkgs/main
python 3.10.9 h966fe2a_0 pkgs/main
python 3.10.9 h966fe2a_1 anaconda/pkgs/main
python 3.10.9 h966fe2a_1 pkgs/main
python 3.10.9 h966fe2a_2 anaconda/pkgs/main
python 3.10.9 h966fe2a_2 pkgs/main
python 3.10.10 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.10 h966fe2a_2 anaconda/pkgs/main
python 3.10.10 h966fe2a_2 pkgs/main
python 3.10.11 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.11 h966fe2a_2 anaconda/pkgs/main
python 3.10.11 h966fe2a_2 pkgs/main
python 3.10.11 he1021f5_3 anaconda/pkgs/main
python 3.10.11 he1021f5_3 pkgs/main
python 3.10.12 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.12 h966fe2a_0 anaconda/pkgs/main
python 3.10.12 h966fe2a_0 pkgs/main
python 3.10.12 he1021f5_0 anaconda/pkgs/main
python 3.10.12 he1021f5_0 pkgs/main
python 3.10.13 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.13 h4de0772_1_cpython anaconda/cloud/conda-forge
python 3.10.13 h966fe2a_0 anaconda/pkgs/main
python 3.10.13 h966fe2a_0 pkgs/main
python 3.10.13 he1021f5_0 anaconda/pkgs/main
python 3.10.13 he1021f5_0 pkgs/main
python 3.10.14 h4de0772_0_cpython anaconda/cloud/conda-forge
python 3.10.14 he1021f5_0 anaconda/pkgs/main
python 3.10.14 he1021f5_0 pkgs/main
python 3.10.14 he1021f5_1 anaconda/pkgs/main
python 3.10.14 he1021f5_1 pkgs/main
python 3.10.15 h4607a30_1 anaconda/pkgs/main
python 3.10.15 h4607a30_1 pkgs/main
python 3.10.15 hfaddaf0_0_cpython anaconda/cloud/conda-forge
python 3.10.15 hfaddaf0_1_cpython anaconda/cloud/conda-forge
python 3.10.15 hfaddaf0_2_cpython anaconda/cloud/conda-forge
python 3.10.16 h37870fc_1_cpython anaconda/cloud/conda-forge
python 3.10.16 h4607a30_1 anaconda/pkgs/main
python 3.10.16 h4607a30_1 pkgs/main
python 3.10.16 hfdde91d_2_cpython anaconda/cloud/conda-forge
python 3.10.16 hfdde91d_3_cpython anaconda/cloud/conda-forge
python 3.10.17 h8c5b53a_0_cpython anaconda/cloud/conda-forge
python 3.10.18 h8c5b53a_0_cpython anaconda/cloud/conda-forge
python 3.10.18 h981015d_0 anaconda/pkgs/main
python 3.10.18 h981015d_0 pkgs/main
python 3.10.19 h981015d_0 anaconda/pkgs/main
python 3.10.19 h981015d_0 pkgs/main
python 3.10.19 hc20f281_2_cpython anaconda/cloud/conda-forge
python 3.10.19 hc20f281_3_cpython anaconda/cloud/conda-forge
python 3.10.19 hcb012bd_1_cpython anaconda/cloud/conda-forge

(base) C:\Users\魏倩>

Python 3.10 is definitely available from your channels, so the issue isn’t with missing packages.

The PackagesNotFoundError you saw earlier is very odd behavior given than the packages are available through conda search. Given we have not been able to reproduce this, diagnosing the issue further is going to require some more detailed back-and-forth that’s better suited to a support ticket or a github issue than our forum.

If you are a current customer, I’d recommend opening a ticket with our support team at https://support.anaconda.com/ — include the output of conda info and the full error from your original conda create command. That will let the support team work through the issue directly with you.

You can also file an issue on the conda GitHub project at https://github.com/conda/conda/issues regardless of whether you are a customer or not. The same detail would be helpful there for the team to diagnose.