conda报错Collecting package metadata
错误详细信息
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-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/win-64’
解决方案
将C:\ProgramData\Anaconda3\Library\bin目录下的
(或者安装在其盘,ProgramData文件夹默认状态为隐藏)
libcrypto-1_1-x64.*
libssl-1_1-x64.*
一共四个文件
复制粘贴到C:\ProgramData\Anaconda3\DLLs目录下即可解决。
这篇博客介绍了conda在尝试获取package metadata时遇到的HTTP连接失败错误。错误详细信息显示了对https://repo.anaconda.com的URL访问失败。解决方法是将Anaconda安装目录下的libcrypto和libssl相关的四个文件复制到DLLs目录下,以此来修复这个问题。
2228

被折叠的 条评论
为什么被折叠?



