我想在我的电脑上使用pip安装PyGreSQL模块。它显示了此消息: Collecting pygresql Using cached PyGreSQL-5.0.3-cp35-cp35m-win_amd64.whl Installing collected packages: pygresql Successfully installed pygresql-5.0.3
但是当我尝试将其导入第二天消息是这Python:安装pygresql
>>> import pygresql
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'pygresql'
>>> from pygresql import _pg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'pygresql'
'>>>从PG进口分贝 回溯(最近通话最后一个): 文件 “”,1号线,在 g.py” 32行,在 从_pg import * ImportError:DLL加载失败:找不到指定的模块' –
sleepcoffeedelight
特定于个案:'DB'。 –
是的,也试过了,它不工作,它说它不能识别模块pygresql – sleepcoffeedelight