>>> import psycopg2 Traceback (most recent call last): File "", line 1, in File "C:\Python26\lib\site-packages\psycopg2\__init__.py", line 60, in from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: DLL load failed: The application has failed to start because its si de-by-side configuration is incorrect. Please see the application event log for more detail.
試圖導入psycopg2當我得到這個錯誤。我搜索過的日子,並沒有發現任何解決方案。 我試過安裝Visual C++ 2008包,但我仍然得到相同的錯誤。導入錯誤:DLL加載失敗: - 試圖導入psycopg2庫
謝謝!這解決了它。 – john2x 2009-08-21 00:14:25
libpq未與psycopg2軟件包保持同步。 PG6000是解決方案! – iElectric 2009-08-21 10:03:20