anaconda创建环境、下载包出现:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1)
【代码】anaconda创建环境、下载包出现:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1)
·
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1)
如果你在创建环境或者下载包的时候出现上述bug,可能是镜像源不能使用了。
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
具体原因是清华的镜像源停服,停服通知如下:
推荐删除这些源,使用conda原本的源,删除的命令如下:
conda config --remove-key channels
删除之后再次运行创建或者下载的命令即可
conda的一些常用命令参考
更多推荐



所有评论(0)