Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sqlite3 not available in python3?
Date: Sun, 15 Nov 2020 23:09:53
Message-Id: 90531719-a646-eda4-6fb9-ede0c0ce68b9@web.de
In Reply to: Re: [gentoo-user] sqlite3 not available in python3? by Manuel McLure
1 On 11/16/20 12:06 AM, Manuel McLure wrote:
2 >
3 >
4 > On Sun, Nov 15, 2020 at 2:59 PM n952162 <n952162@×××.de
5 > <mailto:n952162@×××.de>> wrote:
6 >
7 > I'm trying to convert python2 scripts to python3.  A script which
8 > works under python2 gives me this under python3:
9 >
10 > ModuleNotFoundError: No module named 'sqlite3'
11 >
12 > Any ideas?
13 >
14 > You might need to add "sqlite" to the USE flags for dev-lang/python
15 > and reinstall.
16 >
17 > --
18 > Manuel A. McLure WW1FA <manuel@××××××.org <mailto:manuel@××××××.org>>
19 > <http://www.mclure.org <http://www.mclure.org>>
20 > ...for in Ulthar, according to an ancient and significant law,
21 > no man may kill a cat.                       -- H.P. Lovecraft
22
23 $ equery uses python
24 [ Legend : U - final flag setting for installation]
25 [        : I - package is installed with flag     ]
26 [ Colors : set, unset                             ]
27  * Found these USE flags for dev-lang/python-3.8.5:
28  U I
29  - - bluetooth : Build Bluetooth protocol support in socket module
30  - - build     : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
31 used for creating build images and the first half of bootstrapping [make
32 stage1]
33  - - examples  : Install examples, usually source code
34  + + gdbm      : Add support for sys-libs/gdbm (GNU database libraries)
35  - - hardened  : Activate default security enhancements for toolchain
36 (gcc, glibc, binutils)
37  + + ipv6      : Add support for IP version 6
38  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
39 applicable (see also the ssl useflag)
40  + + ncurses   : Add ncurses support (console display library)
41  + + readline  : Enable support for libreadline, a GNU line-editing
42 library that almost everyone wants
43 * + + sqlite    : Add support for sqlite - embedded sql database*
44  + + ssl       : Add support for SSL/TLS connections (Secure Socket
45 Layer / Transport Layer Security)
46  - - test      : Enable dependencies and/or preparations necessary to
47 run tests (usually controlled by FEATURES=test but can be toggled
48 independently)
49  - - tk        : Add support for Tk GUI toolkit
50  - - wininst   : Install Windows executables required to create an
51 executable installer for MS Windows.
52  + + xml       : Add support for XML files

Replies

Subject Author
Re: [gentoo-user] sqlite3 not available in python3? cal <cal@×××××××××.technology>