From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 260E51382C5 for ; Sun, 7 Mar 2021 17:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CF9FE08AD; Sun, 7 Mar 2021 17:07:01 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27E48E087C for ; Sun, 7 Mar 2021 17:07:00 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 5AE786007EEB for ; Sun, 7 Mar 2021 17:06:59 +0000 (GMT) X-ASG-Debug-ID: 1615136818-055413671d91270001-LfjuLa Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailgw01.thundermail.uk with ESMTP id CxdGVwBAuA6mUnLL (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 07 Mar 2021 17:06:58 +0000 (GMT) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Apparent-Source-IP: 149.255.60.183 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 2F55FC73D34 for ; Sun, 7 Mar 2021 17:06:57 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1615136817; bh=cp1W+xKbvbqGZKCI5oMbgDrvI8RrAg6WwrN5CaaA/bU=; h=From:To:Subject; b=htodvRubGE/AsOBpt4Ip5zLNHc6H+19lTsYgXZ6xQIAFy1Deo+GiiQKscX+Q8FHag cmFn1k8coj3QYEFbZocTUoFOBF4Seb/HhSCQsp4wGw3qmDcX3xw/zPPtpOZe0HOvMZ XOog93fSzG7eXnmb1YunCuWozax3u7FkNubTS76Y= From: Michael 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 X-ASG-Orig-Subj: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? Message-ID: <14297865.tv2OnDr8pf@lenovo.localdomain> In-Reply-To: References: <20210306143810.0d17b770.lembark@wrkhors.com> <20210307110016.09c64f5a.lembark@wrkhors.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3973014.1IzOArtZ34"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20210307170657.2047939.63768@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Start-Time: 1615136818 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 1733 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.88365 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: d3e7abe3-8775-4dcc-b9a5-2d93646781dc X-Archives-Hash: 3ebfd0bfb78b0dd636259f7bab4e012f --nextPart3973014.1IzOArtZ34 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.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, 07 Mar 2021 17:06:47 +0000 Message-ID: <14297865.tv2OnDr8pf@lenovo.localdomain> In-Reply-To: References: <20210306143810.0d17b770.lembark@wrkhors.com> <20210307110016.09c64f5a.lembark@wrkhors.com> On Sunday, 7 March 2021 17:03:22 GMT Arve Barsnes wrote: > On Sun, 7 Mar 2021 at 17:00, Steven Lembark 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 --nextPart3973014.1IzOArtZ34 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmBFCCcACgkQseqq9sKV ZxkA4RAAvZO1IzhcDdKcZDOQ1RjYdqkyUT4mxb2tTlnHyPtorhPfBgEx3CIensn2 u4CJ0ICW0EVlki7iR3hOLy0FYtiRC5looPuW3so8relQuF2EZcO6GLuFZu7zywMk N8VJgrhg2olnp1XD85TukeGEXJMr4SI8MMDXt9g0gzBTDdgJzPx8J03DP8u5st68 Wbhxi1RSPX7KK4SNDdO8UgIEbKnhHEVgZCXbb7XIFNEKP+sbwME6W532mNh3ZXWu p6whT1mZRYOhyeV2DR+ywIsQ8UY5PIhQGSDJPeXTlixWDJYnj3DotdvDuz2Hkcz6 RcA9U83NCHfu5s9+9YMwlGYeckJexsN1l02yjhp32Gq8DIPPf7fHW1sChz7OM7pj kiQF0UFJbc4ZwfJMt7k8npIPE08V5DZUo6q4x8hQdL2Wd+TSY7ATqzY4GE7aL9NZ Z9UJB9D/lmXxcb63zL/d+9sDUSQ2r25AX658gsALI3KFcijudeWb3F8Z0m+DY78F 4J0h37Ng4WVkV2+5q7HtO9sNASkCeog2hnEfTw8ChL1j5UGHhKzdmbrhKyGChhng wQyy6+8JT/zJZz/3MhDH2uawDRKAEOSaxugLoSk/oAfReZqKRt/5ydRQzYTj4ljc Zz0u0kkS51A89sgpt4+kvO9tevgxohKB12x0nwv45OlA1brJMoA= =IyX7 -----END PGP SIGNATURE----- --nextPart3973014.1IzOArtZ34--