Is it possible to install psycopg2 into a virtualenv when PostgreSQL isn\'t installed on my development system—MacBook Pro with OS X 10.6?
virtualenv
When I run
brew install postgresql export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" pip3 install psycopg2
You don't need the complete PostgreSQL installed: you only need the client side libraries.