1 |
Question then is why "python-exec2c" dispatched via a symlink from |
2 |
"python3" would fail to see the installed copy of pyyaml (or how |
3 |
should I check with modules are avalable via "python3")? |
4 |
|
5 |
e.g., is there the equivalent of "perl -MYAML -d -E 0" that would |
6 |
allow me to check what it is that python thinks is installed? |
7 |
|
8 |
|
9 |
|
10 |
I think that pyyaml is installed: |
11 |
|
12 |
* dev-python/pyyaml |
13 |
Latest version available: 5.4.1 |
14 |
Latest version installed: 5.4.1 |
15 |
Size of files: 170 KiB |
16 |
Homepage: https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/ https://github.com/yaml/pyyaml |
17 |
Description: YAML parser and emitter for Python |
18 |
License: MIT |
19 |
|
20 |
Running make for a program blows up with: |
21 |
|
22 |
<snip> |
23 |
PYTHON species-data.h |
24 |
Traceback (most recent call last): |
25 |
* File "/scratch/Build/crawl/crawl-ref/source/util/species-gen.py", line 23, in <module> |
26 |
* import yaml # pip install pyyaml |
27 |
ModuleNotFoundError: No module named 'yaml' |
28 |
make: *** [Makefile:1741: species-data.h] Error 1 |
29 |
make -C rltiles all ARCH=x86_64-pc-linux-gnu NO_PKGCONFIG= TILES=y |
30 |
make[1]: Entering directory '/scratch/Build/crawl/crawl-ref/source/rltiles' |
31 |
make[1]: Leaving directory '/scratch/Build/crawl/crawl-ref/source/rltiles' |
32 |
make: Target 'all' not remade because of errors. |
33 |
make: Leaving directory '/scratch/Build/crawl/crawl-ref/source' |
34 |
|
35 |
$ head -n1 /scratch/Build/crawl/crawl-ref/source/util/species-gen.py |
36 |
#!/usr/bin/env python3 |
37 |
|
38 |
$ which python3 |
39 |
/usr/bin/python3 |
40 |
|
41 |
$ ls -ld $(which python3) |
42 |
lrwxrwxrwx 1 root root 13 Oct 20 10:46 /usr/bin/python3 -> python-exec2c |
43 |
|
44 |
Thanks |
45 |
|
46 |
-- |
47 |
Steven Lembark |
48 |
Workhorse Computing |
49 |
lembark@×××××××.com |
50 |
+1 888 359 3508 |