Last active
July 29, 2016 12:32
-
-
Save appeltel/8111f77aca52ec90c3c0d77d132d1ad8 to your computer and use it in GitHub Desktop.
Get openssl deps working for python crypto on OSX 10.11 with brew
This file contains hidden or 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
# remove your wheels | |
rm -r ~/Library/Caches/pip/wheels/* | |
# update brew | |
brew update | |
brew upgrade | |
brew install openssl #if needed | |
brew unlink openssl #if needed | |
# add some flags variables to your environment so your builds | |
# can find openssl headers and shared libs | |
export ARCHFLAGS="-arch x86_64" | |
export LDFLAGS="-L/usr/local/opt/openssl/lib" | |
export CFLAGS="-I/usr/local/opt/openssl/include" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment