1
我正在嘗試導入pscycopg2。我在運行時遇到滾動錯誤import psycopg2
:導入psycopg2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line 50, in <module> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Library/Python/2.7/site-packages/psycopg2/_psycopg.so,' 2): Symbol not found: _lo_lseek64
Referenced from: /Library/Python/2.7/site-packages/psycopg2/_psycopg.so
Expected in: /usr/lib/libpq.5.dylib in /Library/Python/2.7/site-packages/psycopg2/_psycopg.so
我被困在它。請幫忙。