1. 程式人生 > >安裝tensorflow報錯---CondaHTTPError: HTTP 000 CONNECTION FAILED for url

安裝tensorflow報錯---CondaHTTPError: HTTP 000 CONNECTION FAILED for url

安裝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