Tag Archives: wind

(20210301 solved) can’t connect to HTTPS URL because the SSL module is not available

Overview uses requests to send a message with the following error:

Can’t connect to HTTPS URL because the SSL module is not available.

there is no problem with the requested URL, and the Linux side is running normally. Only Anaconda under Windows runs abnormally. In the solution reference, 3, 4 and 5 are common explanations, which have no effect on my situation. In my case, I use the second answer in reference 1:

# copy the files
libcrypto-1_1-x64.*
libssl-1_1-x64.*
# from ~\anaconda3\Library\bin to ~\anaconda2\DLLs

This can solve the problem, the specific reason is still not understand, mainly for the SSL network transmission level understanding is not deep enough. References

    requests (caused by sslerror (“can’t connect to HTTPS URL because the SSL module is not available.”) error in pychar requesting websitecan’t connect to HTTPS URL because the SSL module is not available ⁑ python3 sends an HTTPS request using the requests module, indicating caused by SSL error, can’t connect to HTTPS URL because the SSL module is not available When using the requests library, python reports an error when visiting the website of HTTPS. SSL module is not available. Python encounters can’t connect to HTTPS URL because the SSL module is not available.