-> Do a .whl installation - In the environment! Download "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on Windows 64-bit Say... Command(env activated, path to the file): python.exe -m pip install "C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"
-> Include 'gdal300' in env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this GDAL-3.0.4 .whl installation (There is a list of these .dlls for nt users) Set: 1. GDAL_LIBRARY_PATH in settings.py: import os GDAL_LIBRARY_PATH = os.path.join( PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll" ) 2. GDAL_DRIVER_PATH = os.path.join( PROJECT_DIR, r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll" ) And, you are good to go. Praise be to The Almighty God. *Richard Dick Balwane* *Mobiles: +256 755 442248, * * +256 781 493558.* *Twiter: @RBalwane* *WhatsApp: **+256 755 442248* *Balwane Holding Inc.* On Tue, 16 Jun 2020 at 18:11, Peter Kirieny <kirienype...@gmail.com> wrote: > am using Geodjango with postgresql db and i get this error while trying to > run the server; > raise ImproperlyConfigured( > django.core.exceptions.ImproperlyConfigured: Could not find the GDAL > library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is > GDAL installed? If it i > s, try setting GDAL_LIBRARY_PATH in your settings. > > the libraries are installed just don't know how to set the paths > 'am new in programming' > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com.