Skip to content

Instantly share code, notes, and snippets.

@PraneethKarnena
Created March 12, 2020 08:31
Show Gist options
  • Save PraneethKarnena/408d3c87023033af53cbcf51e782a2ac to your computer and use it in GitHub Desktop.
Save PraneethKarnena/408d3c87023033af53cbcf51e782a2ac to your computer and use it in GitHub Desktop.
Install psycopg2 on macOS
# Install psycopg2 on macOS
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
pip install psycopg2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment