I'm having the exact same problem as described here: ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found
the error:
from _pg import * ImportError: DLL load failed: The specified module could not be found.
I'm using :
Python 2.7.3 64 bit
PygreSQL 4.1 (installed into C:\Python27\Lib\site-packages\ )
PostgreSQL 9.3.3 64 bit
Windows 7
I tried to fix the issue as listed in the answer but it doesn't work. Environment variables (PATH) are set:
C:\PostgreSQL;C:\PostgreSQL\9.3;C:\PostgreSQL\9.3\bin;C:\Python27\Lib\site-packages
PostgreSQL was installed to :
C:\PostgreSQL
_pg.pyd
exists as said there.
However I still get the same error.
I should note that when I open a comand line and do:
import pg
import _pg
everything works.
What can still be the issue?