Parviz Karimli added the comment:
Thanks, mr. Reedy for your response! I have already solved the issue.
Actually I had encountered this before and figured out the problem, but
unfortunately forgot when I encountered it again. I should have deleted
this issue from Python Bug community, but I thoug
Terry J. Reedy added the comment:
You code is buggy and will not run in Python because it does import messagebox.
Add
from tkinter import messagebox
If you only tested with IDLE before freezing, you might have missed the bug in
your program because of a bug in IDLE, now fixed in 2.7 and 3.5+
New submission from Parviz Karimli:
Tkinter messagebox doesn't work when trying to make an exectuable by cx_freeze
in Python 3.4. It works fine with Python 3.4 alone. But after I create an exe
of this file, the messagebox does not pop up.
--
components: Tkinter
files: messagebox cx_fre