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

Comments

Popular posts from this blog

Subclassing and Signal connect on a same widget crashes PySide application on exit.

Calling OpenCV functions via Cython from Python 3.X.

Showing CPU/Memory usage on tmux status bar(tmuxのステータスバーにCPUとMemoryの使用状況を表示する)