It\'s the first time that I can\'t find the answer about some tech problems Here\'s my problems:
>> conn=psycopg2.connect(database=\"mydb\", user=\"pos
a few years later, using the EnterpriseDB 'graphical' install on OSX 10.8, and pip install of psycopg2 (after linking the /Library/...dylib's as described here) i had this same issue.
for me the correct connect command was conn = psycopg2.connect('dbname=DBNAME user=postgres password=PWHERE host=/tmp/')