I'm using Python 3.
When I use cx_Freeze, the KeyError comes out.
I tried both python setup.py build
and python setup.py bdist_msi
, but both didn't work.
Here's my setup.py:
import sys
from cx_Freeze import setup, Executable
setup(
name = "SnakeGame",
executables = [Executable("SnakeGame.py", base = "Win32GUI")]
)
How can I fix it?