From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
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 17:06:47 +0000 [thread overview]
Message-ID: <14297865.tv2OnDr8pf@lenovo.localdomain> (raw)
In-Reply-To: <CAJjrzcUgVj-Yb-NggryUp=+dfJypi6HNvCwpKCfJ8zx8xM6O=g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]
On Sunday, 7 March 2021 17:03:22 GMT Arve Barsnes wrote:
> On Sun, 7 Mar 2021 at 17:00, Steven Lembark <lembark@wrkhors.com> wrote:
> > I believe there isn't any PYTHON_TARGET-ish setting on the system:
> > $ grep PYTHON_TARGET /etc/portage/make.conf
> > /etc/portage/package.use/*
> >
> > /etc/portage/make.conf:#PYTHON_TARGETS="python3_7 python2_7"
> > /etc/portage/package.use/dizzy:#*/* PYTHON_TARGETS: python3_6
> > python3_7
> > /etc/portage/package.use/dizzy~:#*/* PYTHON_TARGETS: python3_6
> > python3_7
>
> What this is telling you is that you have no manual *override* of the
> default python target setting. Check yours with something like:
> $ emerge --info | grep PYTHON_TARGETS
>
> The default at the moment is 3.8, and as eselect showed you, your
> default python interpreter is 3.9. Did you set this explicitly? If you
> have no particular need to move to 3.9 early, you could set 3.8 as the
> default and probably be rid of your problems immediately.
>
> > Q: Is this related to the fact that I'm not actually checking
> >
> > python but a wrapper named "python-exec2c":
> > $ ls -l /usr/bin/python3
> > lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python3 ->
> > python-exec2c
> >
> > i.e., could the wrapper be mis-diagnosing the correct python
> > version at install time?
>
> It is finding python 3.9, which your system has set up to be the
> wanted version. The link is the same on my system, but I have 3.8 as
> my default interpreter, so I would not have these problems.
>
> Regards,
> Arve
While eselect python is still available the OP can run:
eselect python update
eselect python cleanup
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-03-07 17:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-06 19:38 [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? Steven Lembark
2021-03-06 21:29 ` Mark Knecht
2021-03-06 23:09 ` David Haller
2021-03-07 16:00 ` Steven Lembark
2021-03-07 17:03 ` Arve Barsnes
2021-03-07 17:06 ` Michael [this message]
2021-03-07 18:37 ` Steven Lembark
2021-03-07 18:43 ` Steven Lembark
2021-03-07 19:30 ` Michael
2021-03-07 23:33 ` Steven Lembark
2021-03-07 22:04 ` Neil Bothwick
2021-03-07 23:32 ` Steven Lembark
2021-03-07 23:47 ` Neil Bothwick
2021-03-07 23:51 ` Neil Bothwick
2021-03-07 23:52 ` Steven Lembark
2021-03-08 9:20 ` Neil Bothwick
2021-03-08 6:05 ` Arve Barsnes
[not found] ` <20210313122340.6d795eb1.lembark@wrkhors.com>
2021-03-13 17:52 ` Arve Barsnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14297865.tv2OnDr8pf@lenovo.localdomain \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox