Re: not running what I installed

"Eric S. Johansson" <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Jim Tittsler wrote:
> On Feb 25, 2007, at 19:15, Eric S. Johansson wrote:
> 
>> running ubuntu 6.06, installed sqlite3 plus pysqlite bindings but I
>>  seem to be getting the earlier 1.0 version (see below) I'm sure
>> this is obvious FAQ but I can't seem to find it right now.  How do
>> I select or set up to use sqlite 3.x instead of the older version?
> 
> Perhaps you installed both pysqlite and pysqlite2.
> 
>>>> from pysqlite2 import dbapi2 as sqlite print sqlite.version
> 2.0.5

  I have python2.4-pysqlite2 2.0.5-1ubuntu1 and python2.4-sqlite
1.0.1-4ubuntu1.


ah, now I see.  I was using the wrong net!example.  I'm only about 3 hrs
into learning sql and sqlite and I got a bit turned around.  Normally I 
avoid databases like the plague but I am really impressed with sqlite. 
but I'm sure I will be bitterly disappointed in a week or two. :-)

thanks for the help.

--- eric

-- 
Speech-recognition in use.  It makes mistakes, I correct some.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.