I have fixed the problem with google's help: just _sqlite3.so is not installed correctly. i reinstall python, the problem is gone. thanks.
-------------------------------------------------- From: "zeal" <zealx...@hotmail.com> Sent: Wednesday, May 26, 2010 2:59 PM To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org> Subject: [sqlite] please help beginner on install issue > Hi, > > beginner question: i installed python, sqlite3 in linux with step: > 1 cd sqlite-3.6.22 > > 2 ./configure --prefix=/home/omc/daisy/python/ > > 3 make > > 4 make install > > when i run the python, and want to import sqlite3, error at: > > Python 2.5.2 (r252:60911, May 26 2010, 09:38:53) > [GCC 3.4.6 20060404 (Red Hat 3.4.6-11)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import sqlite3 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/omc/daisy/python/lib/python2.5/sqlite3/__init__.py", line 24, > in <module> > from dbapi2 import * > File "/home/omc/daisy/python/lib/python2.5/sqlite3/dbapi2.py", line 27, > in <module> > from _sqlite3 import * > ImportError: No module named _sqlite3 > > thanks for your help > daisy. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users