If I try to execute the following python code
import requests
data = requests.get('https://www.bbc.com')
I get the error message
raise SSLError("Can't connect to HTTPS URL because the SSL "
urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.
Same python code executed in the anaconda prompt just works fine. So I found this link: A module is working in Anaconda prompt, but not in Spyder
Executing the command given in the stackoverflow post I get the path:
C:\Users\x1\Anaconda3\python.exe
Calling this path from a windows 10 command line and executing the code above still raises the error.