Mac brew pip is configured with locations that require TLS/SSL

2018/3/23 posted in  Python comments

After upgrading mac os and Python3, such an error was reported every time I use pip. The error said I have no ssl, but apparently I have it. I unlinked openssl and reinstalled it, issue solved:

brew unlink openssl 
brew reinstall openssl