Paul Moore added the comment:
See https://docs.python.org/3/using/windows.html#embedded-distribution - "When
extracted, the embedded distribution is (almost) fully isolated from the user’s
system, including environment variables, system registry settings, and
This is deliberate behaviour. The embedded distribution is intended for, as it
says, embedded applications, and your C code that embeds the Python interpreter
can set sys.path based on application-specific environment variables if needed.
But it should not be affected by any "normal" Python configuration.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list