安装tensorflow报错---CondaHTTPError: HTTP 000 CONNECTION FAILED for url

版权声明:博客为作者平时学习备忘,参考资料已在文尾列出一并表示感谢。如若转载,请列明出处。 https://blog.csdn.net/woai8339/article/details/83066456

安装tensorflowCondaHTTPError: HTTP 000 CONNECTION FAILED for url错,有两种方案:
1、tensorflow下载源太慢,超出链接时长,解决办法为:

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

2、如果1的方法不奏效,先将代理中地VPN取消、移动热点关闭,再试一下1重装一下就好了。(自己是这种问题)

Ref:
1、https://blog.csdn.net/ling_xiobai/article/details/78659981
2、https://www.cnblogs.com/xuliangxing/p/7575586.html

猜你喜欢

转载自blog.csdn.net/woai8339/article/details/83066456