Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103325
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Klaus Jantzen <k.d.jantzen@mailbox.org> |
| Newsgroups | comp.lang.python |
| Subject | Re: SQLite |
| Date | Mon, 22 Feb 2016 09:32:43 +0100 |
| Lines | 62 |
| Message-ID | <mailman.33.1456129973.20994.python-list@python.org> (permalink) |
| References | <56C9EFB6.1090309@mailbox.org> <DUB123-W103AD6A677F175CB926D1183A20@phx.gbl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="utf-8" |
| X-Trace | news.uni-berlin.de c5vNVB1lgX7erDtvQ8Mv3Q0CpjRBhipQFbDMLjZg4lTQ== |
| Return-Path | <k.d.jantzen@mailbox.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'importerror:': 0.05; 'problem?': 0.07; '(sorry': 0.09; '===': 0.09; 'sqlite': 0.09; 'python': 0.10; '>>>': 0.15; '2016': 0.16; '23,': 0.16; 'module?': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sqlite3': 0.16; 'sudo': 0.16; 'wrote:': 0.16; 'obviously': 0.16; '>': 0.18; 'skip:" 40': 0.20; 'to:2**1': 0.21; 'feb': 0.23; 'import': 0.24; '(most': 0.24; 'downloaded': 0.24; 'header:In- Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'header:User- Agent:1': 0.26; 'linux': 0.26; '+0100': 0.27; 'url:mailman': 0.30; 'date:': 0.31; 'compiled': 0.32; 'url:python': 0.33; 'traceback': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'something': 0.35; 'subject:': 0.35; 'url:org': 0.36; 'email addr:python.org': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'wanted': 0.37; 'from:': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'hello,': 0.40; 'your': 0.60; 'more': 0.63; 'email name:python-list': 0.67; 'apt-get': 0.84; 'python-dev': 0.84; 'to:addr:hotmail.com': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received; s=mail20150812; t= 1456129965; bh=9W7+YV0+vQu2CVo6wGXyIUF1uWiISS1YV2KZK30KGoY=; b=V 3X3tXL45p0E1Z2FPxGR2coscSIoawigkRndgnGFpHYs29l8QS1Z9yYRAXdM/41t0 WPlJ0Am4oOoaVzhPIUq22hJElBnPWQCHXWkFs2Cdp5NpO4Pm3+SS5vGOSnxRkT9O r/qAiE/HBRJFxrHufZY/wdtWbK+sxqYdLwWb4mQPnNBDIwmllXuyxbmpwAM3Jwj0 BVcGjWlknaOme0btj8fMzQ1FxWGtSpK2fzwlx6GtecQ9GyJpwAJ0ABfIukJ8lEbv Qyioxtegz32NvPaQwLs7LFKTjWOhB+TOQZdmne8qDPsClixvmAvB7Lsha2WnBwJw KZjIUL7LLhuqaqnOazwBw== |
| X-Virus-Scanned | amavisd-new at heinlein-support.de |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
| In-Reply-To | <DUB123-W103AD6A677F175CB926D1183A20@phx.gbl> |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21rc2 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21rc2 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:103325 |
Show key headers only | View raw
On 02/21/2016 10:37 PM, Albert-Jan Roskam wrote:
(Sorry for top posting)
IIRC, you have to do
sudo apt-get install build-essential python-dev
... then re-compile python
> To: [1]python-list@python.org
> From: [2]k.d.jantzen@mailbox.org
> Subject: SQLite
> Date: Sun, 21 Feb 2016 18:11:18 +0100
>
> 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.
> --
> [3]https://mail.python.org/mailman/listinfo/python-list
Hello,
thanks for your hint.
That did it!!!
--
K.D.J.
References
Visible links
1. mailto:python-list@python.org
2. mailto:k.d.jantzen@mailbox.org
3. https://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: SQLite Klaus Jantzen <k.d.jantzen@mailbox.org> - 2016-02-22 09:32 +0100
csiph-web