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

Matthew report at bugs.python.org
Tue Apr 5 15:51:45 EDT 2022


Matthew <puppy2655 at gmail.com> added the comment:

> 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.

I'm pretty sure the Python interpreter that was causing the issue was bundled with the MSYS2 Mingw64 compiler. I tried reproducing the bug, but I've recently reinstalled the compiler due to some issues I was having with it, and the bug with importing binascii is no longer present.

----------

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


More information about the Python-bugs-list mailing list