Anaconda 解决创建虚拟环境时报错

135次阅读
一条评论

共计 624 个字符,预计需要花费 2 分钟才能阅读完成。

报错内容

Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url  
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.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')])")))'))

解决方案

执行以下命令:

conda config --set ssl_verify false

正文完
 0
flames
版权声明:本站原创文章,由 flames 于2024-06-12发表,共计624字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(一条评论)
亦朵智库 评论达人 LV.1
2024-08-07 11:01:02 回复

学到了

 Windows  Chrome  中国浙江省宁波市联通