-
下载Anaconda
-
下载Python
-
win+R 输入cmd启动命令提示符
-
pip换源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
-
确认已经换源
pip config list
-
打开Anaconda Prompt
-
conda换源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes
-
确认conda已经换源
conda config --show