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
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.