Skip to content

Instantly share code, notes, and snippets.

@AhnSeongHyun
Created June 23, 2012 12:32
Show Gist options
  • Save AhnSeongHyun/2978144 to your computer and use it in GitHub Desktop.
Save AhnSeongHyun/2978144 to your computer and use it in GitHub Desktop.
import sqlite error
[ash84@rajas2 py_project]$ python database.py
Traceback (most recent call last):
File "database.py", line 2, in <module>
import sqlite3
File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment