[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

Steve Dower report at bugs.python.org
Tue Apr 5 10:50:11 EDT 2022


Steve Dower <steve.dower at python.org> added the comment:

> There is something fundamentally wrong with the way modules built into the interpreter DLL (python3x.dll) are loaded if anything in sys.path or the system PATH can cause an import to fail.

Probably there was also shadowing involved, since the built-in module doesn't try to load anything else. Would be nice to know for sure (@Matthew) to make sure we don't have some other issue here, but you're right, I don't see any way for this to happen without other causes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47203>
_______________________________________


More information about the Python-bugs-list mailing list