pysqlite installation

37 views
Skip to first unread message

Marcus Maximus

unread,
Feb 12, 2012, 9:17:23 AM2/12/12
to Django users
Hey guys,

i am trying to install pysqlite under win 7, but the installation
routine always terminates...(I always have to kill the process ,cause
the installation routine always hangs on)

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

and my db:
postgresql 1.14.1 also on win 7

can sb help me to install the pysqlite database adapter?

I thank you in advance for your time and attention and look forward to
your reply;D

greetings
Message has been deleted

yati sagade

unread,
Feb 12, 2012, 1:00:14 PM2/12/12
to django...@googlegroups.com

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, Feb 12, 2012 at 10:17 PM, Dennis Lee Bieber <wlf...@ix.netcom.com> wrote:
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/

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




--
Yati Sagade

(@yati_itay)


Reply all
Reply to author
Forward
0 new messages