Open
Description
Bug report
Bug description:
There's also another issue highlited in the same module by the author, but it's not important as we can workaround by setting PYTHONNOUSERSITE
as seen below.
"Including import site inadvertently enables the user site packages directory because the configuration with a ._pth file doesn’t explicitly disable it. I think it should because I can’t imagine why an embedding application would ever want that. You’ll have to set PYTHONNOUSERSITE to work around this."
CPython versions tested on:
3.10, 3.11, 3.12
Operating systems tested on:
Windows