Installing psycopg2 on Mac 10.10.1

Michael Ortali
Small bits
Published in
1 min readJan 6, 2015

Download Postgresapp, install it, add to PATH:

PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin:${PATH}"

If you have an earlier (or later version of Postgres.app), you might have to change the version number in the path to make it work. Now, in your virtual environment:

pip install psycopg2

The installation should proceed without any issues. This installation also resolves the issue: Error: pg_config executable not found.

Looking for UI designers, copywriters, photographers? Check out CreativeList, a platform fully dedicated to help you find the creative talent you need. Are you a creative yourself? Join us. Have a job for creatives? List it.

We’re also publishing on Medium. Follow Us.

--

--

Michael Ortali
Small bits

At @Square. Founded www.creativelist.io. Previously @Pinterest, @YouTube, @Google, and @Yahoo. Studied Multimedia and Art at L