You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.0rc1 (r30rc1:66499, Oct 6 2008, 12:44:02)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] 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 "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/__init__.py",
line 24, in <module>
from sqlite3.dbapi2 import *
File "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/dbapi2.py",
line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
Looks like sqlite3 was not compiled for you. To verify, run make
again and note what modules it lists at the very end as not built. I bet
it lists sqlite3 there.
Activity
jlp commentedon Oct 21, 2008
This is a dump of the error:
Python 3.0rc1 (r30rc1:66499, Oct 6 2008, 12:44:02)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] 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 "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/__init__.py", line 24, in <module> from sqlite3.dbapi2 import * File "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/dbapi2.py", line 27, in <module> from _sqlite3 import * ImportError: No module named _sqlite3brettcannon commentedon Oct 21, 2008
Looks like sqlite3 was not compiled for you. To verify, run
makeagain and note what modules it lists at the very end as not built. I bet
it lists sqlite3 there.
[-]import of sqlite3 fails[/-][+]compilation of sqlite3 fails[/+]florentx commentedon Nov 25, 2009
Please close as invalid.