-
-
[原创]使用Anaconda遇到的http error问题
-
2024-5-9 10:18
931
-
[原创]使用Anaconda遇到的http error问题
问题
Solving environment: done
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.continuum.io/pkgs/r/win-64/repodata.json.bz2
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.
SSLError(MaxRetryError('HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/r/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))',),)
解决方法
这个报错是ssl验证的问题,有两个解决方法
1、将D:\Anaconda3\Library\bin文件夹下的libcrypto-1_1-x64.dll和libssl-1_1-x64.dll复制到D:\Anaconda3\DLLs文件夹下,不过我没有找到这两个文件,所以这个方法的有效性待验证
2、执行“conda config --set ssl_verify no”命令,根据官方文档的内容,直接关闭ssl验证也是有效的
[培训]《安卓高级研修班(网课)》月薪三万计划,掌
握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法