Skip to content

Instantly share code, notes, and snippets.

@alichaudry
Created April 26, 2016 18:16
Show Gist options
  • Save alichaudry/9c5a1d5f1d171cab7c41aef0a0e4c2ae to your computer and use it in GitHub Desktop.
Save alichaudry/9c5a1d5f1d171cab7c41aef0a0e4c2ae to your computer and use it in GitHub Desktop.
Fixing errors where `psycopg2` needs openssl (libssl and libcrypto) versions 1.0.0
# export this environment variable to the appropriate path containing
# `libssl` and `libcrypto` versions 1.0.0 (and not 0.9.7/0.9.8!!!)
export DYLD_FALLBACK_LIBRARY_PATH=/Users/ali/miniconda2/envs/lms/lib:$DYLD_FALLBACK_LIBRARY_PATH
# OR try this without mucking around with environment variables!
# My StackOverflow solution:
# http://stackoverflow.com/a/36872624/5076471
brew install --upgrade openssl
brew unlink openssl && brew link openssl --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment