[issue31056] Import Module Not Working According To Documentation Python 3.6.2
Paul Moore
report at bugs.python.org
Mon Jul 31 11:26:28 EDT 2017
Paul Moore added the comment:
Hmm, never mind. This is expected behaviour because the embedded distribution includes a ".pth" file which overrides the standard sys.path. For details, see https://docs.python.org/3.6/using/windows.html#finding-modules and https://docs.python.org/3.6/using/windows.html#embedded-distribution
Once again, please understand that the embedded distribution is *not* intended as a "portable version" of Python. It's a specialised distribution for a particular purpose.
If you want a "copy and use" version of Python, I believe there's one available via nuget, but it's not supported by the Python core devs, and I don't have any details for you, other than this.
So to confirm, Python is working as documented and there's no bug here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31056>
_______________________________________
More information about the Python-bugs-list
mailing list