Gui Created In Pycharm Is Not Running?
Failed to execute script pyi_rth_tkinter I created a gui in pycharm and install through pyinstaller n it shows successfull but whenever i try to open it pops out message like this.
Solution 1:
You can add this pyinstaller code for your tkinter code to work for macOS.
pyinstaller --onefile -w --add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' --add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl' your_script.py
This is how it is in macOS, you just have to do these.
Hope this helped
Post a Comment for "Gui Created In Pycharm Is Not Running?"