Aug-07-2022, 09:44 PM
sorry, these are in reverse order because the highlight-reply mechanism on the website does it that way:
(Aug-07-2022, 07:15 AM)Gribouillis Wrote: This looks strange too. There should be a copy in the python library. What is the output of
Output:lt1a/forums/3 /home/forums 4> python3.8 -S -c "import sitecustomize; print(sitecustomize)"
<module 'sitecustomize' from '/usr/lib/python3.8/sitecustomize.py'>
lt1a/forums/3 /home/forums 5> ls -dl --full-time /usr/lib/python3.8/sitecustomize.py
lrwxrwxrwx 1 root root 31 2022-06-22 16:18:18.000000000 -0400 /usr/lib/python3.8/sitecustomize.py -> /etc/python3.8/sitecustomize.py
lt1a/forums/3 /home/forums 6> box /etc/python3.8/sitecustomize.py
+----</etc/python3.8/sitecustomize.py>----------------+
| # install the apport exception handler if available |
| try: |
| import apport_python_hook |
| except ImportError: |
| pass |
| else: |
| apport_python_hook.install() |
+-----------------------------------------------------+
lt1a/forums/3 /home/forums 7>
(Aug-07-2022, 07:15 AM)Gribouillis Wrote: You can use the -S option to disable the import of the site module. Does the following command give the same prefixes?
Output:lt1a/forums/3 /home/forums 7> python3.8 -S -c "import sys; print(sys.prefix, sys.exec_prefix, sys.base_exec_prefix)"
/usr /usr /usr
lt1a/forums/3 /home/forums 8>
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.