由于psycopg2错误导致无法运行pServe

时间:2015-02-16 18:47:30

标签: python

由于以下错误,我无法运行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上

0 个答案:

没有答案