{"id":997,"hash":"fc17dea883c31bb2dad217222603b22d1156338b4ec9ba43a115578ef4f15ffa","pattern":"Caused by SSLError(&quot;Can&#39;t connect to HTTPS URL because the SSL module is not available.&quot;","full_message":"I'm using requests in Python3 on Windows via Pycharm, and I'm receiving a \"SSL module is not available\" error.\n\nI've spent hours trying to figure out what could be causing this. I've reinstalled Anaconda, and I am completely stuck. When running the following\n\ndef Earlybird(daycount):\n    url = 'https://msft.com'\n    response = requests.get(url)\n    print(response)\nEarlybird()\n\nI receive the error:\n\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='msft.com', \nport=443): Max retries exceeded with url: / (Caused by SSLError(\"Can't \nconnect to HTTPS URL because the SSL module is not available.\"))\n\nI have no idea what could be causing this. As Anaconda is a recent install, I would assume everything would be up-to-date, so I'm unsure if this is pointing to the wrong SSL ?","ecosystem":"pypi","package_name":"ssl","package_version":null,"solution":"Don't know if this has been solved yet but I was getting similar problems with Anaconda python 3.7.3 and Idle on Windows 10. Fixed it by adding:\n\n<path>\\Anaconda3\n<path>\\Anaconda3\\scripts\n<path>\\Anaconda3\\Library\\bin\n\nto the PATH variable.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54135206/caused-by-sslerrorcant-connect-to-https-url-because-the-ssl-module-is-not-ava","votes":151,"created_at":"2026-04-19T04:52:09.112004+00:00","updated_at":"2026-04-19T04:52:09.112004+00:00"}