2
>>> import pg
Traceback (most recent call last):
File "<pyshell#40>", line 1, in <module>
import pg
File "C:\EPD\lib\site-packages\pg.py", line 21, in <module>
from _pg import *
ImportError: DLL load failed: The specified module could not be found.
我下載了PyGreSQL 4.0 for Windows,並將它安裝到我的python目錄的\LIB\site-packages
。當我嘗試導入pg.py
時,出現此錯誤。 :(爲什麼我不能導入pg.py?