Postgis isn't an available database backend Postgis isn't an available database backend postgresql postgresql

Postgis isn't an available database backend


Run this command

sudo apt-get install binutils libproj-dev gdal-bin

This is described in this documentation


I had the same issuei installed the osgeoand then navigated to the missing libraries

> # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR => os.path.dirname(os.path.dirname(os.path.abspath(__file__)))> TEMPLATE_DIR=os.path.join(BASE_DIR,'templates')

and these were the missing libraries for me:

 GDAL_LIBRARY_PATH = r'C:\OSGeo4W64\bin\gdal204.dll' GEOS_LIBRARY_PATH=r'C:\OSGeo4W64\bin\geos_c.dll'


I found that my libgdal library was causing me issues and giving me this error.

I'm working in windows under a conda environment running Django 1.11 and GDAL 2.0. Changing GDAL and django versions didnt seem to fix anything. However, setting the libgdal version to 1.11.2 seemed to clear the error up for me.