DevMiser / Lumina

Lumina - AI Art Generator for Your TV
105 stars 8 forks source link

Run Error #11

Closed zbohler closed 4 months ago

zbohler commented 4 months ago

I get the following when I run the program from the terminal window. Any thoughts?

Traceback (most recent call last): File "/home/pi/Lumina/Lumina.py", line 75, in root = tk.Tk() File "/usr/lib/python3.9/tkinter/init.py", line 2270, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

DevMiser commented 4 months ago

It looks like Tkinter cannot find the necessary display information. Try setting a display environment by entering the following in the terminal window before running the program from the terminal window: export DISPLAY=:0.0

zbohler commented 4 months ago

That appears to have resolved the issue. Thank you!