conda更换下载源


conda更换下载源

1.conda源更换为清华 

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

2.conda源更换为中科大

conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
记得删掉c:/usr/usrname里的.condarc原有的清华镜像

3.如果需要换回conda的默认源。查看了conda config的文档后,发现直接删除channels即可。命令如下:

conda config --remove-key channels

  




免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM