我正在尝试让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,在相同的用户下并使用sudo,使用pip
安装了pysqlite。我也尝试自己编译pysqlite并启用扩展加载。
需要帮助?