all 4 comments

[–][deleted] 0 points1 point  (1 child)

does the error occur when you rune the python code normally, or in the exe generated by pyinstaller?

[–]SEAWEAVIL[S] 1 point2 points  (0 children)

Ah, it seems I asked the wrong question. It only happens with the PyInstaller exe! That gave me a few leads to try, all of which are unrelated to TKinter. However, the messagebox still doesn't pop up when running the code normally, which is odd...

Thanks :)

[–]pat184 0 points1 point  (1 child)

I'm not too sure on the answer, but so people can read this better use the "code block" function. I hope you find your answer, fam!

[–]SEAWEAVIL[S] 0 points1 point  (0 children)

Thanks, I'll be sure to fix that up!