conda清华镜像(TUNA)使用指南

Details: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/

TUNA 提供了 Anaconda 仓库的镜像,运行以下命令:

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

即可添加 Anaconda Python 免费仓库。

Now, you can use 'conda install {PKG_NAME}' to install packages needed rapidly.

 

* recover to the default configuration:

conda config --remove-key channels

 

* get more information about conda:

conda info

 


2020.5.7更新

https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/

在安装pytorch时出现http error,推测可能源出了问题,因此更新了.condarc文件,然后需要清理一次缓存。

 

posted @ 2018-11-03 17:03  leizhao  阅读(11364)  评论(0编辑  收藏  举报