tilery/python-postgis

Exception: Postgis is not a package

Rumpelstinsk opened this issue · 0 comments

I have just installed your package with pip install postgis
But, when I try to use as your Readme says,I get an exception:

Traceback (most recent call last):
File "postgis.py", line 2, in
from postgis.psycopg import register
File "C:\Proyectos\esQola\python\postgis\postgis.py", line 2, in
from postgis.psycopg import register
ModuleNotFoundError: No module named 'postgis.psycopg'; 'postgis' is not a package

But it seems it is correctly installed:

C:\Proyectos\esQola\python\postgis>pip install postgis
Requirement already satisfied: postgis in c:\program files (x86)\python38-32\lib\site-packages (1.0.4)