My python code runs smoothly when I run it through Thonny python IDE but when I try to run it through the linux command terminal this error show up.
_tkinter.TclError: couldn't connect to display ":10.0"
I am using PySimpleGUI for the GUI part of my code. Any help on how to run a GUI through the linux terminal would be appreciated.