0

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 error

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

1

1 Answer 1

1

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

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

Sign up to request clarification or add additional context in comments.

1 Comment

thanks .. installing the sqlite3-devel package and then compiled and installed ..now its working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.