MINGW-packages: ssl module in Python is not available.

I installed pip via pacman then I try this:

python3 -m pip install awscli

This used to work, but now I get:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Installation of OpenSSL from this link (https://slproweb.com/products/Win32OpenSSL.html) worked for me.

I can’t reproduce sadly

This symptom (“ssl module in Python is not available”) seems to be triggered by different possible causes. I spent 1 day struggling with it and found many suggestions that worked for some people but not for others, or me. What worked for me was to remove 2 spurious files as per issue appveyor/ci#2571. Specifically, somehow 5 days ago these two files appeared in my C:/Windows/System32: libcrypto-1_1-x64.dll and libssl-1_1-x64.dll (not sure what other software put them in there, but they sure broke things). I moved them to another folder not in the PATH, and now things work for my -Python finds SSL and Conda is now able to work e.g., create environments, and pip install now works instead of failing because of the SSL problem. Maybe this helps others.

Hi Alejandohd, this worked for me(April 14, 2020). I spent a day a half trying to solve this problem. I removed the files you mentioned from my windows directory, and then Anaconda Navigator worked. Thanks a lot!

Not 100% sure, no. Our openssl was updated to the conflicting naming 3 weeks ago, so it should have started then. Maybe newer Python uses newer openssl APIs which only now lead to problems.

You can test by deleting “C:\Windows\System32\libssl*.dll” “C:\Windows\System32\libcrypto*.dll” on appveyor.