Last active
November 17, 2017 08:47
-
-
Save lorne-luo/2d094f8f9a844c01171c9667eee73639 to your computer and use it in GitHub Desktop.
Solve TLS 1.2 problem on Mac os
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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