[New-bugs-announce] [issue21950] import sqlite3 not running

Alejandro report at bugs.python.org
Thu Jul 10 12:00:36 CEST 2014


New submission from Alejandro:

We have compile python 3.4.1 in Suse Linux Enterprise Server 11 SP2

We have compiled it using --prefix as args :

./configure --prefix=/soft/pyt341

make 

make install

We check python has been properly installed:

/soft/pyt341/bin/python3 --version
Python 3.4.1


We try to import sqlite3 lib and we get this error:

/soft/pyt341/bin/python3 -c "import sqlite3"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/soft/pyt341/lib/python3.4/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/soft/pyt341/lib/python3.4/sqlite3/dbapi2.py", line 26, in <module>
    from _sqlite3 import *
ImportError: No module named '_sqlite3'

----------
components: Library (Lib)
messages: 222656
nosy: alexganwd
priority: normal
severity: normal
status: open
title: import sqlite3 not running
type: crash
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21950>
_______________________________________


More information about the New-bugs-announce mailing list