In python 2.5 there is no pysqlite but sqlite3
use for test
try:
from sqlite3 import dbapi2 as sqlite # python 2.5
except:
try:
from pysqlite2 import dbapi2 as sqlite #python < 2.5
except:
print 'This program requires pysqlite2\n',\
'http://initd.org/tracker/pysqlite/'
Hi Ned, All,
i followed that way too,
i downloaded the bynary version for pysqlite osx intel
i copied all the files under :
/Users/Shared/source/spatialite/
|
bin/
Hi All,
i'm running python 2.5.1 on a mac osx 10.5.6 (the system pyrhon)
i've problems to enable spatialite extension [1]
in python using pysqlite2
maybe there are problems to enable the support for the dyn-extensions
but i have no clue on how to fix it;
i downloaded the sources for pysqlit