Changing "import sqlite3" to "import sqlite" in python code may be helpful.
06/11/2008 16:37 +0100, [EMAIL PROTECTED] wrote: > > 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, [EMAIL PROTECTED] 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 > >
