Created
November 15, 2016 21:01
-
-
Save geekforbrains/3a2836dac8a147a91b0600fcfff3c58d to your computer and use it in GitHub Desktop.
Installing psycopg2 in virtualenv on macOS Sierra
This file contains 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
$ xcode-select --install | |
$ brew install openssl | |
$ virtualenv env | |
$ . env/bin/activate | |
$(env) env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install psycopg2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While Entered the
getting the following error