Wednesday, June 15, 2011

GeoDjango issue with pysqlite

Hi,

I have followed the installation guide to the letter but am still
having issues when trying to syncdb.

I get the following error "The pysqlite library does not support C
extension".

I have installed pysqlite with the following setup.cfg

[build_ext]
#define=
include_dirs=/Library/Frameworks/SQLite3.framework/unix/include
library_dirs=/Library/Frameworks/SQLite3.framework/unix/lib
libraries=sqlite3
#define=SQLITE_OMIT_LOAD_EXTENSION

Operating System : Mac OS X 10.6 (Snow Leopard)

I really dont know what else to try.

Not sure if the following helps, but some version output information

>>> import sqlite3
>>> sqlite3.version_info
(2, 4, 1)
>>> sqlite3.sqlite_version_info
(3, 6, 12)
>>> from pysqlite2 import dbapi2 as sqlite3
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version_info
(3, 7, 4)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate