Error building executable with cx_Freeze: IndexError: tuple index out of range

半腔热情 提交于 2019-12-07 15:15:28
Jim Fasarakis Hilliard

This has been submitted as a bug in cx_freeze, Python 3.6 has introduced some changes to code objects (most notably with PEP 523) so it might have introduced certain bugs in applications that depend on them.

Keep track of the issue on cx_freeze and remember that certain errors might pop up when using a newly released version of Python.


As an aside, since you import cx_Freeze and access setup and Executable through there, there's no need for the:

from cx_Freeze import setup, Executable

line. You aren't using those names.

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