anaconda遇到SSL错误

碰到这个问题很恶心,看了好多方法啥用没有。只有去下载SSL安装才行。

问题示例:

D:\fangzhenmoxing>conda create -n py36 python=3.6 anaconda
Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/noarch/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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'mirrors.ustc.edu.cn\', port=443): Max retries exceeded with url: /anaconda/cloud/bioconda/noarch/repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

发现最关键问题就是“because the SSL module is not available”。
那就整SSL的。下,安装。下面就是链接
SSL安装链接
再整一个链接,毕竟我也用了这个方法。
link
里面是加上一些网页的。
找不到.condarc就打开anaconda,environment里的channel里删除default。剩下的按照链接来。


版权声明:本文为weixin_42386833原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。