Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml?
Date: Sun, 07 Mar 2021 23:47:40
Message-Id: 20210307234726.47ee8bb4@digimed.co.uk
In Reply to: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? by Steven Lembark
1 On Sun, 7 Mar 2021 18:32:26 -0500, Steven Lembark wrote:
2
3 > > 1) use eselect to set your default python to 3.8
4 > > 2) Add python_39 to PYTHON_TARGETS
5 > > 3) Explicitly call python38 in the shebang line of the affected
6 > > script.
7 >
8 > So, I go back and eselect 3.8.
9 > I then try to perform some basic maintainence which fails for
10 > lack of a python module I think is installed for python 3.8.
11
12 If your system has been built entirely with PYTHON_TARGETS="python_38"
13 then all installed modules should be available.
14
15 > Q: Is there no way to have a consistent version of Python on
16 > the system?
17
18 Yes, make sure PYTHON_TARGETS and your chosen version of python match.
19
20
21 --
22 Neil Bothwick
23
24 Do Roman paramedics refer to IV's as "4's"?

Replies