面临与ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found相同的问题,但在这种情况下,我可以看到_pg.pyd文件没有在虚拟环境的站点包中创建。
import pg
File "c:\users\pmlp\.virtualenvs\qc-scheduling-nfxvviij\lib\site-packages\pgdb.py", line 68, in <module>
from _pg import *
ImportError: DLL load failed: The specified module could not be found.你知道我如何创建它,或者为什么不创建它吗?
发布于 2019-04-25 16:45:48
我发现我只需要将postgree路径添加到用户路径:
set PATH=C:\Program Files\PostgreSQL\10\bin;%PATH% https://stackoverflow.com/questions/55844830
复制相似问题