close

[Solved] Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)

Hello Guys, How are you all? Hope You all Are Fine. Today I am Just trying to use request And I am Facing following error Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”) in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”) Error Occurs ?

I am Just trying to use request And I am Facing following error.

requests.exceptions.SSLError: HTTPSConnectionPool(host='msft.com', 
port=443): Max retries exceeded with url: / (Caused by SSLError("Can't 
connect to HTTPS URL because the SSL module is not available."))

Here is my code.

response = requests.get(url)

How To Solve Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”) Error ?

  1. How To Solve Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”) Error ?

    To Solve Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”) Error If you are using anaconda then Then add this to PATH variable <path>\Anaconda3 <path>\Anaconda3\scripts <path>\Anaconda3\Library\bin Second Solution is Just copy this file libcrypto-1_1-x64.* libssl-1_1-x64.* which will be located at C:\Anaconda3\Library\bin and paste these file to this location. C:\Anaconda3\DLLs.

  2. Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”)

    To Solve Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”) Error If you are using anaconda then Then add this to PATH variable <path>\Anaconda3 <path>\Anaconda3\scripts <path>\Anaconda3\Library\bin Second Solution is Just copy this file libcrypto-1_1-x64.* libssl-1_1-x64.* which will be located at C:\Anaconda3\Library\bin and paste these file to this location. C:\Anaconda3\DLLs.

Solution 1: add this line to PATH

If you are using anaconda then Then add this to PATH variable.

<path>\Anaconda3
<path>\Anaconda3\scripts
<path>\Anaconda3\Library\bin

Solution 2: copy this file

Just copy this file

libcrypto-1_1-x64.*
libssl-1_1-x64.*

which will be located at C:\Anaconda3\Library\bin

and paste these file to this location. C:\Anaconda3\DLLs.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment