Traceback (most recent call last): File "RTB.py", line 608, in window.Read(timeout=0) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6957, in Read results = self._read(timeout=timeout, timeout_key=timeout_key) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6982, in _read event, values = self._ReadNonBlocking() File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 7101, in _ReadNonBlocking self._Show(non_blocking=True) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6831, in _Show StartupTK(self) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 11257, in StartupTK Window.hidden_master_root = tk.Tk() File "/usr/lib/python3.6/tkinter/init.py", line 2023, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable
Traceback (most recent call last): File "RTB.py", line 608, in window.Read(timeout=0) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6957, in Read results = self._read(timeout=timeout, timeout_key=timeout_key) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6982, in _read event, values = self._ReadNonBlocking() File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 7101, in _ReadNonBlocking self._Show(non_blocking=True) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 6831, in _Show StartupTK(self) File "/root/.local/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 11257, in StartupTK Window.hidden_master_root = tk.Tk() File "/usr/lib/python3.6/tkinter/init.py", line 2023, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable