问题
Is Python 3.7.0 supported with cx_Freeze 6.0b1 (latest version)? I just created a simple project and it works with Python 3.5.4 but it does not in Python 3.7.0 where it shows:
Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can\'t find module \'encodings\'
I\'ve reported this upstream as #399.
回答1:
The fix for this bug exists: pull request 395: Compilation correct .pyc files for Python 3.7.0. You can apply it by hand to your existing installation.
来源:https://stackoverflow.com/questions/51314105/cx-freeze-crashing-python-3-7-0