SCIENTIFIC-LINUX-USERS Archives

November 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mohammad Kashif <[log in to unmask]>
Reply To:
Date:
Thu, 6 Nov 2008 16:37:46 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
> Hi,
Hi
This is the output of rpm -qa| grep sqlite
sqlite-devel-3.3.6-2
sqlite-3.3.6-2
python-sqlite-1.1.7-1.2.1

And I have checked that separately sqlite is working.

I am not a expert in linux, but is it possible that when initially python
was configured, then it was build with out sqlite api as at that time
sqlite was not installed. I will again write down the message get from
sqlite forum.

" You are missing the module that binds Python to SQLite.  It comes as
>> standard with Python but is only built if SQLite is already on the
>> machine.

Thanks and regards
kashif
> On Thu, 6 Nov 2008, [log in to unmask] wrote:
>
>> Hi
>> I am trying to install LHC Era Monitering(LEMON) on SL 5.1 for
>> experimental purpose. After installation when I tried to create schema
>> for
>> sqlite3 database, I encountered this problem
>> unable to import Sqlite API:  No module named sqlite3
>>
>> It posted this problem on sqlite forum and I got this awnser.
>>
>> " You are missing the module that binds Python to SQLite.  It comes as
>> standard with Python but is only built if SQLite is already on the
>> machine.  Chances are you can find it as another package to install.
>
> have you actually tried following this advice (yum install python-sqlite)?
>
> Regards,
>  	Stephan
>
>> The underlying module is provided by pysqlite."
>>
>> Now I have to rebuild phython with sqlite3 support. Please suggest that
>> how can I rebuild the python with minimum disturbance to system.
>>
>> Thanks
>> kashif
>>
>
> --
> Stephan Wiesand
>    DESY - DV -
>    Platanenallee 6
>    15738 Zeuthen, Germany
>

ATOM RSS1 RSS2