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
I solved it in MAC OSX using :
$ wget https://ftp.postgresql.org/pub/source/v9.5.3/postgresql-9.5.3.tar.bz2 $ tar xfv postgresql-9.5.3.tar.bz2 $ cd postgresql-9.5.3 $ ./configure $ make $ cd src/bin/pg_config $ export PATH=`pwd`:"$PATH" $ pip install psycopg2