Pyinstaller generated exe doesn't work properly Pyinstaller generated exe doesn't work properly tkinter tkinter

Pyinstaller generated exe doesn't work properly


Had the same issue but then realized that I was inadvertently trying to execute the file in the build folder instead of the dist folder.

Looks like you might be making the same mistake from your traceback so see if using the executable in dist doesn't fix it for you


Please recreate the exe with --onefile option in command. It wont ask you for python37.dll