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

I had exactly the same problem. My computer is exactly the same and the versions of Python and pip are also the same.

It's a dll conflict with libeay32.dll.

I can solve this problem by adding dir path of python which has libeay32.dll (in my case C:\Users\Gabriel\Anaconda3\pkgs\openssl-1.1.1a-he774522_0\Library\bin) in system environment as topmost position.


Here was my process to correct the error, on Windows 10 with Anaconda:

  1. Added the following paths to my environment variables:
    • /AppData/Local/Continuum/Anaconda3
    • /AppData/Local/Continuum/Anaconda3/Scripts
    • /AppData/Local/Continuum/Anaconda3/Library
    • /AppData/Local/Continuum/Anaconda3/Library/Bin

At this stage, the error message was still there.

  1. From Anaconda Prompt, I installed the latest version of pip:

    python -m pip install --upgrade pip

This appeared to correct the DLL conflict.


Try your install/update with pip3 instead of pip.