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的一些常用命令参考

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐