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

后端 未结 1 1653
情歌与酒
情歌与酒 2020-12-12 06:35

Background

I have made a program that I am trying to turn into an executable using CX_Freeze. The setup.py file is placed inside the same directory as

相关标签:
1条回答
  • 2020-12-12 06:56

    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.

    0 讨论(0)
提交回复
热议问题