pycharm 国内镜像源不能用了

使用conda安装命令时一直出现问题,因为从2019年4月添加的国内镜像都不能用了


conda换回默认源


最近由于某些因素清华的conda镜像登不上去了,所以需要换回conda的默认源。查看了conda config的文档后,发现直接删除channels即可。命令如下:


conda config --remove-key channels


试试中科大的镜像源,亲测有效

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

转载于:https://www.jianshu.com/p/006f926ab979

猜你喜欢

转载自blog.csdn.net/weixin_34117522/article/details/91234650