it might be based on how i'm using symlinks for the "py" and "python" commands. i was trying other stuff this evening and noticed the problem would come and go. so i studied that more closely and noticed the problem always happens when i use "py" or "python" as the engine name and never when i used "python3.8". i found a source of "../../.." and it looks like this is the source. but something is still off as if is replicating the path to python3.8 it should work going that way since it really runs python3.8 either way. i think the merger of /bin and /usr/bin by Ubuntu is a factor in this.
the fact that my symlinks go to ../../../{bin,lib} instead of ../../../usr/{bin,lib} may be the problem. more investigating. i wonder if a venv would have gotten around this.
Output: lt1a/forums/3 /home/forums 12> py -S -c "import site;print(site.getsitepackages())"
['/usr/host/bin/../../../local/lib/python3.8/dist-packages', '/usr/host/bin/../../../lib/python3/dist-packages', '/usr/host/bin/../../../lib/python3.8/dist-packages']
lt1a/forums/3 /home/forums 13> python -S -c "import site;print(site.getsitepackages())"
['/usr/host/bin/../../../local/lib/python3.8/dist-packages', '/usr/host/bin/../../../lib/python3/dist-packages', '/usr/host/bin/../../../lib/python3.8/dist-packages']
lt1a/forums/3 /home/forums 14> python3 -S -c "import site;print(site.getsitepackages())"
['/usr/host/bin/../../../local/lib/python3.8/dist-packages', '/usr/host/bin/../../../lib/python3/dist-packages', '/usr/host/bin/../../../lib/python3.8/dist-packages']
lt1a/forums/3 /home/forums 15> python3.8 -S -c "import site;print(site.getsitepackages())"
['/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.8/dist-packages']
lt1a/forums/3 /home/forums 16> wh py
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/host/bin/py -> ../../../bin/python3.8
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/local/bin/py -> ../../../bin/python3.8
lt1a/forums/3 /home/forums 17> wh python
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/host/bin/python -> ../../../bin/python3.8
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/local/bin/python -> ../../../bin/python3.8
lrwxrwxrwx 1 root 7 Apr 15 2020 /usr/bin/python -> python3
lrwxrwxrwx 1 root 7 Apr 15 2020 /bin/python -> python3
lt1a/forums/3 /home/forums 18> wh python3
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/host/bin/python3 -> ../../../bin/python3.8
lrwxrwxrwx 1 root 22 Aug 8 01:02 /usr/local/bin/python3 -> ../../../bin/python3.8
lrwxrwxrwx 1 root 9 May 25 00:58 /usr/bin/python3 -> python3.8
lrwxrwxrwx 1 root 9 May 25 00:58 /bin/python3 -> python3.8
lt1a/forums/3 /home/forums 19> wh python3.8
-rwxr-xr-x 1 root 5502744 Jun 22 16:18 /usr/bin/python3.8
-rwxr-xr-x 1 root 5502744 Jun 22 16:18 /bin/python3.8
lt1a/forums/3 /home/forums 20> box /usr/host/bin/wh
+----</usr/host/bin/wh>--------------------------------+
| #!/bin/bash |
| which -a "$@"|while read n;do /bin/ls -dGl "$n";done |
+------------------------------------------------------+
lt1a/forums/3 /home/forums 21>
edit:the fact that my symlinks go to ../../../{bin,lib} instead of ../../../usr/{bin,lib} may be the problem. more investigating. i wonder if a venv would have gotten around this.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.