[issue42529] CPython DLL initialization routine failed from PYC cache file

Steve Dower report at bugs.python.org
Thu Dec 10 19:02:31 EST 2020


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

Replicating also requires installing Java (I got as far as the build failing), which is going to have to wait until I have time to spin up a throwaway machine :)

That exception is a normal part of the import process and should be being handled. It's not the same one that eventually terminates the program.

I'd continue past that one and keep continuing until you hit one that looks like "DLL initialization routine failed". That *should* come out of the DLL that is actually failing, which Python isn't able to identify, and will give us hints toward the actual root cause.

----------

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


More information about the Python-bugs-list mailing list