Window10 in Anaconda install third-party libraries appear HTTPError and SSLError (HTTP 000 CONNECTION FAILED for url) solution

 

Description: The following error report, the situation is not the time out occurs , but SSLError (marked in red below), please see ourselves is also not such a mistake.

 
Loading channels: failed
Conda HTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/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.tuna.tsinghua.edu.cn\', port=443): Max retries exceeded with url: /anaconda/cloud/msys2/noarch/repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
 
Online viewing some methods are ineffective to me,
 
My solution ( possible ):
1. Check the python version installed on their own Anaconda
 Command line, type: python
 

 

 2. official website to download the corresponding version of the Python compressed file ( ZIP ), extract it

  Download Link: https://www.python.org/downloads/

 

3. Copy the unzipped files _ssl.pyd to own DLLs Anaconda installation file in the directory folder C: \ ProgramData \ Anaconda3 \ (best backup of the file before replacing) DLLs

Python files:

 

DLLs file copied to the folder in Anaconda

 

 

 

End.

 

ps:我尝试过的对我无用的方法,如果上面方法对你没有用,可以尝试以下方法

(1)下载Open-SSL,安装到自己电脑中(没有作用

(2)将安装Python,将某些文件夹复制到Anaconda中(没有作用

  方法链接:https://blog.csdn.net/qq_41761293/article/details/86988511

(3)换源、删除文件中的--default等等(没有作用

 

 

 

 

 

 

 
 

Guess you like

Origin www.cnblogs.com/bingma/p/12329523.html