I would like to know the differences among SQLite3 from Python2.5, pysqlite, and APSW? I have a bumpy run when trying to install pysqlite on Windows Vista with python2.5, see following:
Download SQLite from http://sqlite.org/download.html and unzip them into
windows/system32
folder and put SQLite3.dll intoc:/python25/Lib
folderDownload pysqlite windows installer
When trying to run following in Python shell:
>>> from pysqlite2 import test
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pysqlite2\test\__init__.py", line 35, in <module>
from pysqlite2.test import dbapi, types, userfunctions, factory, transactions,\
File "pysqlite2\test\dbapi.py", line 27, in <module>
import pysqlite2.dbapi2 as sqlite
File "pysqlite2\dbapi2.py", line 27, in <module>
from pysqlite2._sqlite import *
ImportError: No module named _sqlite
I am wondering anybody with experiences of the above three types of SQLite binding to Python can comment their pros and cons such as performances I am wondering is it worthwhile to try the pysqlite or APSW