[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

Steve Dower report at bugs.python.org
Fri Dec 28 14:06:07 EST 2018


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

None of the code you linked is defined on Windows at all, so it can't be that.

Are any stat checks done when there's only a .pyc to import? Could it be deciding that the .pyc is out of date and then failing to find source?

----------

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


More information about the Python-bugs-list mailing list