Answer the question
In order to leave comments, you need to log in
Compiling a python 3.6 file with tkinter via cx_Freeze: what's wrong?
I'm trying to compile a python file (.pyw in my case) using cx_Freeze. The program actively uses:
import sys
from cx_Freeze import setup, Executable
build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(name = "my prog",
version = "1.0",
description = "My application!",
options = {"build_exe": build_exe_options},
executables = [Executable("main.pyw", base = base)])
python setup.py build
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question