(Aug-05-2022, 06:03 PM)Gribouillis Wrote: Which values do you have for sys.exec_prefix and sys.base_exec_prefix ?
Output:lt1a/forums/3 /home/forums 4> site.getsitepackages;sys.base_exec_prefix;sys.exec_prefix
['/usr/host/bin/../../../local/lib/python3.8/dist-packages', '/usr/host/bin/../../../lib/python3/dist-packages', '/usr/host/bin/../../../lib/python3.8/dist-packages']
'/usr/host/bin/../../..'
'/usr/host/bin/../../..'
lt1a/forums/3 /home/forums 5> which site.getsitepackages sys.base_exec_prefix sys.exec_prefix
/usr/host/bin/site.getsitepackages
/usr/host/bin/sys.base_exec_prefix
/usr/host/bin/sys.exec_prefix
lt1a/forums/3 /home/forums 6> box $(which site.getsitepackages sys.base_exec_prefix sys.exec_prefix)
+----</usr/host/bin/site.getsitepackages>----+
| #!/usr/bin/env python3 |
| import site |
| print(repr(site.getsitepackages())) |
+--------------------------------------------+
+----</usr/host/bin/sys.base_exec_prefix>----+
| #!/usr/bin/env python3 |
| import sys |
| print(repr(sys.base_exec_prefix)) |
+--------------------------------------------+
+----</usr/host/bin/sys.exec_prefix>----+
| #!/usr/bin/env python3 |
| import sys |
| print(repr(sys.exec_prefix)) |
+---------------------------------------+
lt1a/forums/3 /home/forums 7>
there is a lot of stuff in /usr/host/bin/../../../lib/python3.8
(which is really /usr/lib/python3.8
). nothing has "../../..". any idea which file it might be looking for?
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.