Currently I am installing psycopg2 for work within eclipse with python.
I am finding a lot of problems:
sudo pip3.4 install ps
Here's a fix that worked for me on El Capitan that doesn't require restarting to work around the OS X El Capitan System Integrity Protection (SIP):
brew unlink postgresql && brew link postgresql brew link --overwrite postgresql
H/T Farhan Ahmad