Skip to content

Instantly share code, notes, and snippets.

@turing4ever
Created May 3, 2018 00:06
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 turing4ever/883ec1b0f92274714b867ffacee85285 to your computer and use it in GitHub Desktop.
Save turing4ever/883ec1b0f92274714b867ffacee85285 to your computer and use it in GitHub Desktop.
# Get rid of `UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: http://initd.org/psycopg/docs/install.html#binary-install-from-pypi.`
pip uninstall psycopg2 -y
pip install --no-binary :all: psycopg2
# On Mac, you will most likely run into issue with ' ld: library not found for -lssl’. Then you will need to run `brew install openssl` and `export LIBRARY_PATH=/usr/local/Cellar/openssl/1.0.2o_1/lib`. Finally, run `pip install --no-binary :all: psycopg2`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment