Geodjango Exception when importing django.contrib.gis.gdal

9 views
Skip to first unread message

Farook M

unread,
Jun 3, 2020, 12:47:07 PM6/3/20
to Django users
I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://www.gisinternals.com/query.html?content=filelist&file=release-1900-gdal-2-4-4-mapserver-7-4-3.zip I have also set environment variables correctly. I did a gdalinfo --version from command prompt, i could get the version number. When i try to run django server using python manage.py runserver i am getting the below error
 enter image description here

And in the command prompt i could see errors enter image description here
Any help would be appreciated

Samuel Nogueira

unread,
Jun 3, 2020, 2:54:06 PM6/3/20
to django...@googlegroups.com

Hi Farook. Are you using sqlite as your database?

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d2cc9046-e609-44f3-b6a0-15c18e081a02%40googlegroups.com.

 

Samuel Nogueira

unread,
Jun 3, 2020, 2:57:44 PM6/3/20
to django...@googlegroups.com

Hi Farook. Are you using sqlite3 as your application database?

 

De: Farook M
Enviado:quarta-feira, 3 de junho de 2020 13:46
Para: Django users
Assunto: Geodjango Exception when importing django.contrib.gis.gdal

 

I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://www.gisinternals.com/query.html?content=filelist&file=release-1900-gdal-2-4-4-mapserver-7-4-3.zip I have also set environment variables correctly. I did a gdalinfo --version from command prompt, i could get the version number. When i try to run django server using python manage.py runserver i am getting the below error

--

Reply all
Reply to author
Forward
0 new messages