python pip

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

conda

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
 
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
 
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
 
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
 
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
Last modification:December 2, 2024
如果觉得我的文章对你有用,请随意赞赏