由于以下错误,我无法运行pserve
:
File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: libpq.5.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/psycopg2/_psycopg.so
Reason: image not found
我在OSX 10.6上