From: Steven Lembark <lembark@wrkhors.com>
To: gentoo-user@lists.gentoo.org
Cc: lembark@wrkhors.com
Subject: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml?
Date: Sun, 7 Mar 2021 18:32:26 -0500 [thread overview]
Message-ID: <20210307183226.17a5eae6.lembark@wrkhors.com> (raw)
In-Reply-To: <20210307220439.47523cf7@digimed.co.uk>
On Sun, 7 Mar 2021 22:04:39 +0000
Neil Bothwick <neil@digimed.co.uk> wrote:
> But you have chosen a different default version of Python. That leaves
> you two choices:
>
> 1) use eselect to set your default python to 3.8
> 2) Add python_39 to PYTHON_TARGETS
> 3) Explicitly call python38 in the shebang line of the affected
> script.
So, I go back and eselect 3.8.
I then try to perform some basic maintainence which fails for
lack of a python module I think is installed for python 3.8.
Q: Is there no way to have a consistent version of Python on
the system?
# eselect python list;
Available Python interpreters, in order of preference:
[1] python3.8
[2] python3.6
[3] python3.9
[4] python3.7 (fallback)
[5] python2.7 (fallback)
# emerge dev-python/chardet;
<snip>
writing byte-compilation script '/tmp/portage/dev-python/chardet-4.0.0/temp/tmp591yrh90.py'
* /usr/bin/python3.8 /tmp/portage/dev-python/chardet-4.0.0/temp/tmp591yrh90.py
removing /tmp/portage/dev-python/chardet-4.0.0/temp/tmp591yrh90.py
writing byte-compilation script '/tmp/portage/dev-python/chardet-4.0.0/temp/tmp9vcif_en.py'
* /usr/bin/python3.8 /tmp/portage/dev-python/chardet-4.0.0/temp/tmp9vcif_en.py
removing /tmp/portage/dev-python/chardet-4.0.0/temp/tmp9vcif_en.py
<snip>
>>> Installing (1 of 1) dev-python/chardet-4.0.0::gentoo
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
!!! existing preserved libs:
>>> package: dev-libs/icu-68.2
* - /usr/lib64/libicudata.so.67
* - /usr/lib64/libicudata.so.67.1
* - /usr/lib64/libicui18n.so.67
* - /usr/lib64/libicui18n.so.67.1
* used by /usr/bin/js60 (dev-lang/spidermonkey-60.5.2_p0-r4)
* used by /usr/lib64/libmozjs-60.so (dev-lang/spidermonkey-60.5.2_p0-r4)
* - /usr/lib64/libicuuc.so.67
* - /usr/lib64/libicuuc.so.67.1
* used by /usr/bin/js60 (dev-lang/spidermonkey-60.5.2_p0-r4)
* used by /usr/lib64/libmozjs-60.so (dev-lang/spidermonkey-60.5.2_p0-r4)
Use emerge @preserved-rebuild to rebuild packages using these libraries
* python3_8: running distutils-r1_run_phase distutils-r1_python_install_all
# $emerge @preserved-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
* emerge: there are no ebuilds to satisfy ">=dev-python/chardet-3.0.2[python_targets_python3_6(-),python_targets_python3_7(-),python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]".
<snip>
# emerge --search dev-python/chardet;
[ Results for search key : dev-python/chardet ]
Searching...
* dev-python/chardet
Latest version available: 4.0.0
Latest version installed: 4.0.0
# emerge --info dev-python/chardet;
* Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.32-r3, 5.9.1-gentoo-af x86_64)
* dev-lang/python: 2.7.18-r6::gentoo, 3.6.12-r2::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
* USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 (-pypy3) -python3_9"
See <https://pastebin.com/JbKXEptz> for details of --info.
--
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508
next prev parent reply other threads:[~2021-03-07 23:32 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
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 [this message]
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=20210307183226.17a5eae6.lembark@wrkhors.com \
--to=lembark@wrkhors.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