This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alexganwd
Recipients alexganwd
Date 2014-07-10.10:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404986436.3.0.183605850141.issue21950@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2014-07-10 10:00:36alexganwdsetrecipients: + alexganwd
2014-07-10 10:00:36alexganwdsetmessageid: <1404986436.3.0.183605850141.issue21950@psf.upfronthosting.co.za>
2014-07-10 10:00:36alexganwdlinkissue21950 messages
2014-07-10 10:00:35alexganwdcreate