Re: (in memory) database

2008-09-02 Thread Paul Boddie
On 2 Sep, 17:38, Zentrader <[EMAIL PROTECTED]> wrote: > > I don't understand why Cameron has a different version of Python which > > doesn't seem to have sqlite support enabled. > > Agreed, but won't the package manager tell him if python-sqlite is > installed? It shouldn't need to be installed: t

Re: (in memory) database

2008-09-02 Thread Peter Otten
Zentrader wrote: >> I don't understand why Cameron has a different version of Python which >> doesn't seem to have sqlite support enabled. > > Agreed, but won't the package manager tell him if python-sqlite is > installed? That would be the next step since it appears that SQLite > intself is alr

Re: (in memory) database

2008-09-02 Thread Zentrader
> I don't understand why Cameron has a different version of Python which > doesn't seem to have sqlite support enabled. Agreed, but won't the package manager tell him if python-sqlite is installed? That would be the next step since it appears that SQLite intself is already installed. Since Ubunt

Re: (in memory) database

2008-09-02 Thread Paul Boddie
On 2 Sep, 04:46, Zentrader <[EMAIL PROTECTED]> wrote: > On Ubuntu you want to install something like python-sqlite (a search > for "python" should turn up everything).  There are 2 parts to this, > SQLite and the python bindings to SQLite.  So you seem to have SQLite > installed but not the Python

Re: (in memory) database

2008-09-01 Thread Zentrader
On Ubuntu you want to install something like python-sqlite (a search for "python" should turn up everything). There are 2 parts to this, SQLite and the python bindings to SQLite. So you seem to have SQLite installed but not the Python bindings. Also, on some systems you have to have python-sqlit

Re: (in memory) database

2008-09-01 Thread M.-A. Lemburg
On 2008-08-31 15:15, mark wrote: > Hi there, > > I need to extract data from text files (~4 GB) on this data some > operations are performed like avg, max, min, group etc. The result is > formated and written in some other text files (some KB). > > I currently think about database tools might be

Re: (in memory) database

2008-09-01 Thread Bruno Desthuilliers
mark a écrit : Hi there, I need to extract data from text files (~4 GB) on this data some operations are performed like avg, max, min, group etc. The result is formated and written in some other text files (some KB). I currently think about database tools might be suitable for this. I would jus

Re: (in memory) database

2008-09-01 Thread Roel Schroeven
Roel Schroeven schreef: Cameron Laird schreef: I now suspect that my 2.5 packaging has something to do with 64-bit builds; all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at Python 2.5. Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite: (mine is

Re: (in memory) database

2008-08-31 Thread Cousin Stanley
> > 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 > From Kubuntu 8.04 $ uname -a Linux em1 2.6.24-19-generic #1 SMP Wed Aug 20

Re: (in memory) database

2008-08-31 Thread Cousin Stanley
> . > 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 > No problems here with Debian Lenny All package

Re: (in memory) database

2008-08-31 Thread Roel Schroeven
Cameron Laird schreef: I now suspect that my 2.5 packaging has something to do with 64-bit builds; all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at Python 2.5. Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite: [EMAIL PROTECTED] $ uname -a Linux

Re: (in memory) database

2008-08-31 Thread Paul Boddie
On 31 Aug, 21:29, [EMAIL PROTECTED] (Cameron Laird) wrote: > [Lots of output suggesting correct package configuration] > I'm certainly perplexed, and welcome suggestions. Maybe... which python I think Jean-Paul might be on to something with his response. Are we referring to the system-packag

Re: (in memory) database

2008-08-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >On Sun, 31 Aug 2008 18:05:08 +, Cameron Laird <[EMAIL PROTECTED]> wrote: >>In article <[EMAIL PROTECTED]>, >>Paul Boddie <[EMAIL PROTECTED]> wrote: >> [snip] >> >>Thanks for pursuing this, Paul. You have me curio

Re: (in memory) database

2008-08-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Boddie <[EMAIL PROTECTED]> wrote: >On 31 Aug, 20:05, [EMAIL PROTECTED] (Cameron Laird) wrote: >> >> Let's take a definite example: I have a convenient >> Ubuntu 8.04.1 >> The content of /etc/apt/sources.list is >> debhttp://us.archive.ubuntu.com/ubuntu

Re: (in memory) database

2008-08-31 Thread Jean-Paul Calderone
On Sun, 31 Aug 2008 18:05:08 +, Cameron Laird <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Paul Boddie <[EMAIL PROTECTED]> wrote: [snip] Thanks for pursuing this, Paul. You have me curious now. Let's take a definite example: I have a convenient Ubuntu 8.04.1 The content

Re: (in memory) database

2008-08-31 Thread Paul Boddie
On 31 Aug, 20:05, [EMAIL PROTECTED] (Cameron Laird) wrote: > > Let's take a definite example: I have a convenient > Ubuntu 8.04.1 > The content of /etc/apt/sources.list is > debhttp://us.archive.ubuntu.com/ubuntuhardy main restricted > debhttp://us.archive.ubuntu.com/ubuntuhardy-update

Re: (in memory) database

2008-08-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Boddie <[EMAIL PROTECTED]> wrote: >On 31 Aug, 16:45, [EMAIL PROTECTED] (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 >>

Re: (in memory) database

2008-08-31 Thread Paul Boddie
On 31 Aug, 16:45, [EMAIL PROTECTED] (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

Re: (in memory) database

2008-08-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >mark wrote: . . . >> Unfortunately I have only some knowledge of SQLite which is not an >> option here. > >why is sqlite not an option? it's is bundled

Re: (in memory) database

2008-08-31 Thread Fredrik Lundh
mark wrote: > I need to extract data from text files (~4 GB) on this data some > operations are performed like avg, max, min, group etc. The result is > formated and written in some other text files (some KB). you could probably do all that with data stream processing, but if you haven't worked