Skip to content Skip to sidebar Skip to footer

Attribute Error While Using Cx_freeze

while creating exe of my python game . I got the following error my code in setup.py is import cx_Freeze import os os.environ['TCL_LIBRARY'] = 'C:\\Users\Vinayak Singla\\Appdata

Solution 1:

You might need a version in your setup script. Like:

cx_Freeze.setup(
    name="Pongy",
    version='1.0',
    options={"build_exe": {"packages":["pygame","sys","random","time"],"include_files":["boing.wav","out.wav"]}},
    executables = executables
)

Hope this will solve your problem.

Post a Comment for "Attribute Error While Using Cx_freeze"