From: Steven Lembark <lembark@wrkhors.com>
To: gentoo-user@lists.gentoo.org
Cc: lembark@wrkhors.com
Subject: [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml?
Date: Sat, 6 Mar 2021 14:38:10 -0500 [thread overview]
Message-ID: <20210306143810.0d17b770.lembark@wrkhors.com> (raw)
Question then is why "python-exec2c" dispatched via a symlink from
"python3" would fail to see the installed copy of pyyaml (or how
should I check with modules are avalable via "python3")?
e.g., is there the equivalent of "perl -MYAML -d -E 0" that would
allow me to check what it is that python thinks is installed?
I think that pyyaml is installed:
* dev-python/pyyaml
Latest version available: 5.4.1
Latest version installed: 5.4.1
Size of files: 170 KiB
Homepage: https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/ https://github.com/yaml/pyyaml
Description: YAML parser and emitter for Python
License: MIT
Running make for a program blows up with:
<snip>
PYTHON species-data.h
Traceback (most recent call last):
* File "/scratch/Build/crawl/crawl-ref/source/util/species-gen.py", line 23, in <module>
* import yaml # pip install pyyaml
ModuleNotFoundError: No module named 'yaml'
make: *** [Makefile:1741: species-data.h] Error 1
make -C rltiles all ARCH=x86_64-pc-linux-gnu NO_PKGCONFIG= TILES=y
make[1]: Entering directory '/scratch/Build/crawl/crawl-ref/source/rltiles'
make[1]: Leaving directory '/scratch/Build/crawl/crawl-ref/source/rltiles'
make: Target 'all' not remade because of errors.
make: Leaving directory '/scratch/Build/crawl/crawl-ref/source'
$ head -n1 /scratch/Build/crawl/crawl-ref/source/util/species-gen.py
#!/usr/bin/env python3
$ which python3
/usr/bin/python3
$ ls -ld $(which python3)
lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python3 -> python-exec2c
Thanks
--
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508
next reply other threads:[~2021-03-06 19:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-06 19:38 Steven Lembark [this message]
2021-03-06 21:29 ` [gentoo-user] Q: What is "python-exec2c"? Why would "python3" dispatched through it not see an installed copy of pyyaml? 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
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=20210306143810.0d17b770.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