安装了anaconda3后发现安装软件\创建新的环境\更新都会出现下面的问题:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/linux-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/linux-64'
网上找到回复(参考[1])说"You really need to keep your SSL stack up-to-date",不知道这个SSL stack是什么,反正按照他说的如下指令更新之后.可以正常运行了.
conda update openssl ca-certificates certifi
参考
[1]Any Package Results in “CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/anaconda/linux-64/repodata.json>
Elapsed: -” 链接