美文网首页
Linux使用中科大源

Linux使用中科大源

作者: 山有木紫 | 来源:发表于2018-03-04 16:19 被阅读0次

中科大镜像官方网站
http://mirrors.ustc.edu.cn/

pip的使用方法

http://mirrors.ustc.edu.cn/help/pypi.html?highlight=pip
修改 ~/.pip/pip.conf
内容为:
[global]
index-url = https://mirrors.ustc.edu.cn/pypi/web/simple

easy_install 使用方法

修改~/.pydistutils.cfg
内容为:
[easy_install]
index_url = https://mirrors.ustc.edu.cn/pypi/web/simple

anaconda使用方法

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

然后
vim ~/.condarc
删除-default那一行,并保存

相关文章

网友评论

      本文标题:Linux使用中科大源

      本文链接:https://www.haomeiwen.com/subject/wefqfftx.html