Pylons importing Psycopg2 error

Posted by resopollution on Stack Overflow See other posts from Stack Overflow or by resopollution
Published on 2009-10-26T07:06:41Z Indexed on 2010/04/23 20:43 UTC
Read the original article Hit count: 382

Filed under:
|
|
    Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/Library/Python/2.6/site-packages/psycopg2/__init__.py", line 60, in <module>
   from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Library/Python/2.6/site-packages/psycopg2/_psycopg.so, 2): Symbol not found: _PQbackendPID
 Referenced from: /Library/Python/2.6/site-packages/psycopg2/_psycopg.so
 Expected in: flat namespace
 in /Library/Python/2.6/site-packages/psycopg2/_psycopg.so

Psycopg2 was working fine before, but now I get this error.

Any ideas on this issue much appreciated.


EDIT: so after dealing with so many psycopg2 errors everytime I set up my mac, I've decided to use VMWareFusion running Ubuntu instead.

© Stack Overflow or respective owner

Related posts about pylons

Related posts about psycopg2