Skip to content

Instantly share code, notes, and snippets.

@lorne-luo
Last active November 17, 2017 08:47
Show Gist options
  • Save lorne-luo/2d094f8f9a844c01171c9667eee73639 to your computer and use it in GitHub Desktop.
Save lorne-luo/2d094f8f9a844c01171c9667eee73639 to your computer and use it in GitHub Desktop.
Solve TLS 1.2 problem on Mac os
# 1. update openssl
brew install openssl
brew link openssl --force
# 2.reinstall python
brew install python --with-brewed-openssl
# 3.re-create virtualenv
rm -rf env/
virtualenv env --python=/usr/local/Cellar/python/2.7.14/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment