Jul 27, 2018

Python pip stop working because of SSL Error on Mac (with Homebrew)

I bought a new MacBook pro, and recover from an old MacBook ends successfully, but "pip" stopped working because of the SSL Error .

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Even upgrading pip like this
 pip install --upgrade pip
fails.

It seems homebrew python is upgraded and SSL was old too.
see links Change from pip 3.4 to 3.5, Unable to install Python libraries
Here is how I fixed.

brew reinstall openssl
curl https://bootstrap.pypa.io/get-pip.py | python3

No comments: