Traceback (most recent call last):
File "", line 1, in
import pg
File "C:\Python26\Lib\site-packages\pg.py", line 21, in -toplevel-
from _pg import *
ImportError: DLL load failed: The specified module could not be found.
Solution:
Make sure the PostgreSQL C interface (libpq.dll) is installed or
its directory (\Postgresql\bin) is on PATH.
{Notes to self, programming, technology, linux, windows, git} U {Papers, reviews, games, coffee, tabletennis, ramblings} = {things worth saving}
Saturday, May 02, 2009
Python: Postgres module import failure
Etiketter:
Python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment