I'm trying to get Spatialite to work with my django app, however, I've hit the following wall:
raise ImproperlyConfigured('The pysqlite library does not support C extension loading. '
django.core.exceptions.ImproperlyConfigured: The pysqlite library does not support C extension loading. Both SQLite and pysqlite must be configured to allow the loading of extensions to use SpatiaLite.
make: *** [syncdb] Error 1
Using ubuntu 12.04, I have installed pysqlite using pip
within the same user and with sudo. I have also tried compiling pysqlite and enabled extension loading myself.
Help?