Tôi muốn biết sự khác biệt giữa sqlite3 từ python2.5, pysqlite và apsw là gì? Tôi có một chạy gập ghềnh khi cố gắng cài đặt pysqlite trên cửa sổ vista với python2.5, xem sau:Sự khác biệt giữa sqlite3 từ python2.5, pysqlite và apsw
- tải sqlite từ http://sqlite.org/download.html và giải nén chúng vào
windows/system32
thư mục và đưa vào sqlite3.dllc:/python25/Lib
thư mục - tải pysqlite windows installer
khi cố gắng chạy sau trong vỏ python:
>>> 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
tôi tự hỏi ai có kinh nghiệm trong ba loại trên ràng buộc để python sqlite thể bình luận ưu và nhược điểm của họ chẳng hạn như màn trình diễn tôi tự hỏi là nó đáng giá để thử pysqlite hoặc apsw
nhờ