安装python库或者使用conda安装库出现CondaHTTPError: HTTP 000 CONNECTION FAILED for url的问题。
解决办法:
1)手动删除C:\Users\dell\.condarc文件下的内容或者执行“conda config --remove-key channels”命令,恢复Anaconda的源为默认。
2) 将C:\Users\dell\.condarc文件内容改为:
ssl_verify: true
show_channel_urls: true
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
remote_read_timeout_secs: 1000.0
3)重新打开指令界面,再次安装你想安装的库。