pytorch official website to download too slowly Solution: Use Tsinghua mirror source

windows version

Open Anaconda prompt

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/main/
conda config --set show_channel_urls yes

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

# for legacy win-64
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/

conda activate pytorch

Then copy the code official website to delete -c pytorch

Reference blog as follows:

https://www.cnblogs.com/zhouzhiyao/p/11784055.html

https://blog.csdn.net/WannaSeaU/article/details/88427010

Guess you like

Origin www.cnblogs.com/Annetree/p/12541290.html