Relative Content

Tag Archive for pythontkinterpyinstallerexecutable

Program invovling tkinter interface does not run from jupyter notebook or pyinstaller executable but runs through python interactive shell

I have a script that uses a tkinter interface that runs fine when running through cmd (“python”, then “import [script.py]”). Oddly running the same exact script through the command prompt with “python [script.py]” causes it to immediately close when reaching the main tkinter pane. Or executing through my jupyter notebook causes it to freeze when failing to display the main tkinter pane. No error messages appear in cmd or are printed in jupyter notebook.