I need to run the sqlite3 module on python 2.6 in an ubuntu system. How do I install this module for Python 2.6?
Somehow I don't have this module, it raises the error:
Python 2.6.5 (r265:79063, Mar 20 2010, 18:48:10)
[GCC 4.4.1] 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 "/usr/local/lib/python2.6/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/local/lib/python2.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3