GeoDjango Setup Issues

GeoDjango is difficult to set up and start working with. I am simply trying to set up a geodjango project that will connect to an existing postgres database and plot the data and am at a loss. I am plagued by errors.

One of which is that geodjango cannot find gdal307.dll.

I have declared the path in settings.py: GDAL_LIBRARY_PATH = r’C:\OSGeo4W\bin\gdal307.dll’

It still cannot find the thing.

I have tried editing:

C:\ProgramData\anaconda3\Lib\site-packages\django\contrib\gis\gdal\libgdal.py to search for “gdal307”.

It does not work.

Can someone help me?

I fixed this by abandoning windows and going with an Ubuntu setup. Not quite a fix.