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 0D0851382C5 for ; Sun, 7 Mar 2021 17:03:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CC06E0894; Sun, 7 Mar 2021 17:03:25 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 E49F4E087C for ; Sun, 7 Mar 2021 17:03:24 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id r3so7468760lfc.13 for ; Sun, 07 Mar 2021 09:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6ZhAclWtYjPk1kvx19pHUPlh/4kZaWM7swtBMPKNNXQ=; b=Sfe9C8VIypBcAhSZcHPt4r3sNa6rMd5V+dsh6L8DnC379zLwpBND5/Q66EaZOtN99l JdMC/1no6iZ9gKlpXqHNL07o4Pn5+mr4pHcAXk862lsRweirAM5fxTRQgub47IHgMMSQ SRkZBtLRe2DeDZs97MeO/5hpp3dtsORPLM3A8HZDSLiA/Ojyv7cXc/IN/Ka/2DvOW+bt tkHInteBkS5h5+Pek6SZ8Ktz9CQLeEy9KWj78edjLIyHBNwTDQR8ATcPd9yfIL+w3wE2 ju7woILYdbxllwMEPOrbDFuDgXZDbUjwyR7pi9rx17Jt5WhcYu05mETCZY72K2YrhvGK 0IuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6ZhAclWtYjPk1kvx19pHUPlh/4kZaWM7swtBMPKNNXQ=; b=DAb4az9roJeu9yzBABSBZXSP8QweQfYpcBCS2fuJ+a4YkIrRGn1AesMk9b1zbe8E0X PeleT/6tnikgieCYqMJ8Qv7lvpvJb1TWlWVMnwqxZePbNOg5cEKk21xUl2W32IAdWtGp PgJkk5nVIMBXqp1f480mjJmCTEOu+pTInnAtv0FQ1P80yn0o7ZLCznupfTrgU7ekAMlK Y4MWn3zPSaCbNT1l3bmsSPCiozmfr+W/XsXtamM36WEifxqsaetbiwAC3t6RkC47Pxli /JlhQLpA7oPATiebo9Zzc5jkNjBRXvC892+ZhXlboKAVV4/H81/UXtclssnIZHEbvaUg yZdw== X-Gm-Message-State: AOAM531l4XyA/ZRCHrTANK/L8iBuJjDJjxx0IQGqZWNvbKmP/scx8rVG fFtrUVHZA++eYlf7k7SJg4PzABgACPmE5lqmunbT1l1W9IY= X-Google-Smtp-Source: ABdhPJzedu4eKSbOTCOuWPgPiWiHVhf/Cw5D2u0Z6mitCaGB6AEJM1KMbZkGIZNK7aWRtqE//FgmoppulgJ0mMtiprM= X-Received: by 2002:a19:604c:: with SMTP id p12mr8490589lfk.30.1615136603319; Sun, 07 Mar 2021 09:03:23 -0800 (PST) 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 References: <20210306143810.0d17b770.lembark@wrkhors.com> <20210306230947.cunfmvutna7enwr2@grusum.endjinn.de> <20210307110016.09c64f5a.lembark@wrkhors.com> In-Reply-To: <20210307110016.09c64f5a.lembark@wrkhors.com> From: Arve Barsnes Date: Sun, 7 Mar 2021 18:03:22 +0100 Message-ID: Subject: Re: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? To: Gentoo Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 8569d360-f42c-4ec3-a0fb-fc21624f0345 X-Archives-Hash: 487881a95ca486661255d9b153a697ca 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