Aug-05-2022, 06:03 PM
(This post was last modified: Aug-05-2022, 06:03 PM by Gribouillis.)
(Aug-05-2022, 05:41 PM)Skaperen Wrote: where does python look for modules before it has site loaded so it can find site.py?I think it is in
<base_exec_prefix>/lib/pythonX.Y
where the prefix is the value of sys.base_exec_prefix
and X.Y is for example 3.8Which values do you have for
sys.exec_prefix
and sys.base_exec_prefix
?