-

CommentStreams:E10421689fd6e0065998d15bc67f9138

From Geekworm Wiki
Jump to navigation Jump to search

pi@raspberrypi:~ $ sudo python3 /home/pi/UPSPACK_V3/UPS_GUI_py/UPS_GUI_demo.py Traceback (most recent call last):

 File "/home/pi/UPSPACK_V3/UPS_GUI_py/UPS_GUI_demo.py", line 69, in <module>
   window = tk.Tk()
 File "/usr/lib/python3.7/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