Centos修改pip源地址和conda源地址

前端之家收集整理的这篇文章主要介绍了Centos修改pip源地址和conda源地址前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
cd
mkdir.pip
cd.pip
cat>pip.conf<<EOF
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com
EOF



conda源国内只有清华有,
修改源只需输入如下两行命令:

condaconfig--addchannelshttps://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
condaconfig--setshow_channel_urlsyes
原文链接:https://www.f2er.com/centos/374656.html

猜你在找的CentOS相关文章