{{{
django.core.exceptions.ImproperlyConfigured: Unable to load the SpatiaLite
library extension "mod_spatialite"
}}}
I tried downgrading python to 3.5 but it didn't work.
I have set
{{{
SPATIALITE_LIBRARY_PATH = 'mod_spatialite'
}}}
in settings.py
--
Ticket URL: <https://code.djangoproject.com/ticket/29645>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
On Ubuntu 18.04, you must use `SPATIALITE_LIBRARY_PATH =
'mod_spatialite.so'` as per 422a403565ddb8c1866f90f1b2ce7d9157b33ce3.
--
Ticket URL: <https://code.djangoproject.com/ticket/29645#comment:1>
Comment (by ravi singh):
Thanks a lot. We should mention this in the Docs.
Replying to [comment:1 Tim Graham]:
> On Ubuntu 18.04, you must use `SPATIALITE_LIBRARY_PATH =
'mod_spatialite.so'` as per 422a403565ddb8c1866f90f1b2ce7d9157b33ce3.
--
Ticket URL: <https://code.djangoproject.com/ticket/29645#comment:2>
Comment (by Tim Graham):
The commit that I linked to is a patch that was applied to Django's
documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/29645#comment:3>
Comment (by ravi singh):
Okay, just checked, it was patched for 2.1 version.
Replying to [comment:3 Tim Graham]:
> The commit that I linked to is a patch that was applied to Django's
documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/29645#comment:4>