Actually, If you're using the the sqlite3 backend for Django, you DO NOT have to use any `pysqlite'. The sqlite3 db-API has been a part of the Python standard library for long, and even if we ignore that, if you stick to Django's wonderful ORM, you shouldn't really have to work directly with pysqlite. I can understand if the DB was something like MongoDB or Redis, but SQLite3 should not bother you much.
On Sun, 12 Feb 2012 06:17:23 -0800 (PST), Marcus Maximus
<
marcus....@gmail.com> wrote:
>My python version:
>ActivePython 2.7.2.5 (ActiveState Software Inc.) based on Python 2.7.2
>(default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win 32
SQLite3, and the Python DB-API for it have been a part of Python's
standard library since, what, Python 2.5?
There is nothing that needs to be installed to use it.
>
>and my db:
>postgresql 1.14.1 also on win 7
>
>can sb help me to install the pysqlite database adapter?
>
I suspect you are confused about what you need to install. Pysqlite
works with SQLite3 database engine.
For use with PostgreSQL you need to install a PostgreSQL adapter:
psycopg2 seems to be the common package, there are others which may or
may not be as complete a match for the DB-API 2 specification.
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--
Yati Sagade
(@yati_itay)