psycopg2 OS X – _PQbackendPID


If you are having problems with _PQbackendPID, psycopg2 and OS X and have tried the forcing to 32 bit mentioned in other posts about the web then it might be time to try a more forceful approach. This is an example of the error that you might face: [cc lang=“bash”] dlopen(/Library/Python/2.6/site-packages/psycopg2/, 2): Symbol not found: _PQbackendPID Referenced from: /Library/Python/2.6/site-packages/psycopg2/ Expected in: flat namespace in /Library/Python/2.6/site-packages/psycopg2/ [/cc] The first thing to do is get rid of your old Psycopg2 (just in case), so locate the site-packages directory: