我的程序使用sqlite3 plus python。它正常工作與Python 2.6.2 我把它另一臺機器並安裝了2.6.4和運行程序給了我這個錯誤python sqlite失敗
File "", line 1, in
File "/opt/python-2.6.4/lib/python2.6/sqlite3/init.py", line 24, in
from dbapi2 import *
File "/opt/python-2.6.4/lib/python2.6/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: No module named _sqlite3
http://stackoverflow.com/questions/233320/cannot-import-sqlite-with-python-2-6 – SilentGhost 2010-04-13 13:47:20