开发者

python sqlite fails

开发者 https://www.devze.com 2022-12-26 10:25 出处:网络
My program uses sqlite3 plus python. It works fine with python 2.6.2 I moved it another machine and installed 2.6.4 and running the program gave me this er开发者_StackOverflow中文版ror

My program uses sqlite3 plus python. It works fine with python 2.6.2 I moved it another machine and installed 2.6.4 and running the program gave me this er开发者_StackOverflow中文版ror

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


See cannot-import-sqlite-with-python-2-6.

You are missing the .so (shared object) - probably an installation step.

0

精彩评论

暂无评论...
验证码 换一张
取 消