我试图让Spatialite与我的Django应用程序工作,但是,我已经打了以下墙:
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
使用Ubuntu 12.04,我一直在使用安装pysqlite pip
相同的用户中,并使用sudo。 我也曾尝试编译pysqlite并启用扩展加载自己。
救命?