DEV Community

Discussion on: GeoDjango Installation: PostGIS and GDAL

Collapse
 
borsemayur2 profile image
Mayur Borse

I'm getting error:
could not open extension control file "/usr/share/postgresql/12/extension/postgis.control"

Collapse
 
borsemayur2 profile image
Mayur Borse

Resolved by using command

sudo apt-get install postgis postgresql-<POSTGRESQL_VERSION>-postgis-scripts

Enter fullscreen mode Exit fullscreen mode
Collapse
 
mhihasan profile image
Hasanul Islam

Thanks