Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103311

SQLite

From Klaus Jantzen <k.d.jantzen@mailbox.org>
Newsgroups comp.lang.python
Subject SQLite
Date 2016-02-21 18:11 +0100
Message-ID <mailman.18.1456076987.20994.python-list@python.org> (permalink)

Show all headers | View raw


   Hello,

   I have downloaded Python3.5.1 as .targz, compiled it(configure, make,...)
   and it works
   (under Debian Wheezy AMD64) up to the moment I wanted to use SQLite.

   I get the following message:
   ===
   jantzen@PC4:~$ python
   Python 3.5.0 (default, Dec  2 2015, 14:16:16)
   [GCC 4.7.2] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import sqlite3
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python3.5/sqlite3/__init__.py", line 23, in
   <module>
       from sqlite3.dbapi2 import *
     File "/usr/local/lib/python3.5/sqlite3/dbapi2.py", line 27, in <module>
       from _sqlite3 import *
   ImportError: No module named '_sqlite3'
   ===

   Obviously something is missing.
   How do I solve the problem? Where do I find this module?

   Thanks for a hint.
   --

   K.D.J.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

SQLite Klaus Jantzen <k.d.jantzen@mailbox.org> - 2016-02-21 18:11 +0100

csiph-web