Problem with installing sqlite3 module for python 2.6 on an ubuntu system

Posted by Hoang on Super User See other posts from Super User or by Hoang
Published on 2010-03-20T18:33:59Z Indexed on 2010/03/20 19:01 UTC
Read the original article Hit count: 375

Filed under:
|
|
|

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:

>>> 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

© Super User or respective owner

Related posts about python

Related posts about ubuntu