I am trying to install PyGreSQL module on my computer using pip. It shows this message:
Collecting pygresql
Using cached PyGreSQL-5.0.3-cp35-cp35m-win_amd64.whl
Installing collected packages: pygresql
Successfully installed pygresql-5.0.3
But when I try to import it the very next message is this
>>> 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'
its
pg
as infrom pg import DB
according to the documentation on their site.