(in memory) database

Paul Boddie paul at boddie.org.uk
Sun Aug 31 12:25:20 EDT 2008


On 31 Aug, 16:45, cla... at lairds.us (Cameron Laird) wrote:
> Yes and no.  My own experience with Debian packages is that with a
> standard
>   apt-get install python2.5
> an attempt to
>   import sqlite3
> results in
>   ImportError: No module named _sqlite3

That's strange from the perspective of the Debian package information:

http://packages.debian.org/etch/python2.5
http://packages.debian.org/lenny/python2.5

Both have libsqlite3-0 as a dependency. On my Ubuntu system, the same
dependency applies.

> that is, <URL:https://bugzilla.novell.com/show_bug.cgi?id=228733>.

I'm not sure Novell can help with the matter, though. ;-)

> I recognize the error was resolved nearly two years ago,
> but I, for one, don't understand how to express the resolution in
> terms of Debian packages.  Is there a way to install Python and have
> it manage SQLite3 correctly withOUT configuring recent sources "by
> hand"?

Which Debian version and which package repository? I imagine that
there may have been backports of Python 2.5 to Debian 3.1 (Sarge) and
earlier, but my own experience with sqlite prior to running Python 2.5
on Ubuntu involved use of the pysqlite2 module with Python 2.4
instead. Since Python 2.5 became the default on Ubuntu, I don't recall
having any problems with sqlite.

Paul



More information about the Python-list mailing list