cx_Freeze crashing Python 3.7.0

三世轮回 提交于 2019-11-26 06:09:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!