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 installed packages."
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 <[email protected]> <http://bugs.python.org/issue28245> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
