Skip to content

Instantly share code, notes, and snippets.

@daviseford
Created November 16, 2016 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviseford/90860aed272b7890ba8b9f84af65ac10 to your computer and use it in GitHub Desktop.
Save daviseford/90860aed272b7890ba8b9f84af65ac10 to your computer and use it in GitHub Desktop.
A bash command that fixes 'django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: dlopen(/Users/anaconda/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: libssl.1.0.0.dylib'
# Run this in your terminal
# Credit: http://stackoverflow.com/questions/27264574/import-psycopg2-library-not-loaded-libssl-1-0-0-dylib
export DYLD_FALLBACK_LIBRARY_PATH=$HOME/anaconda/lib/:$DYLD_FALLBACK_LIBRARY_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment