Aug-07-2022, 07:15 AM
(This post was last modified: Aug-07-2022, 07:15 AM by Gribouillis.)
You can use the -S option to disable the import of the
site
module. Does the following command give the same prefixes?Output:$ python3.8 -S -c "import sys; print(sys.prefix, sys.exec_prefix, sys.base_exec_prefix)"
/usr /usr /usr
Skaperen Wrote:i only found "/etc/python3.8/sitecustomize.py"This looks strange too. There should be a copy in the python library. What is the output of
$ python3.8 -S -c "import sitecustomize; print(sitecustomize)" <module 'sitecustomize' from '/usr/lib/python3.8/sitecustomize.py'>