Linux更换conda的安装源

在命令行中输入以下命令,将Anaconda的镜像源更换为清华大学的镜像源,可以提高下载速度。

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

国内常用源

阿里云 http://mirrors.aliyun.com/pypi/simple

豆瓣 http://pypi.douban.com/simple

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple

中科大 http://pypi.mirrors.ustc.edu.cn/simple

网易云 https://mirrors.163.com/pypi/simple

检查是否更换成功

conda info

查看channels的输出

你可能感兴趣的:(linux,conda,运维)