Traceback (most recent call last):
File "/home/runner/misyeon10-nabi-moyang-geurigi-yeone0312/driver.py", line 13, in <module>
screen = turtle.Screen()
File "/nix/store/9kzgdmf4q5vxshisils7pzgc6342pcsy-python3-3.10.0/lib/python3.10/turtle.py", line 3663, in Screen
Turtle._screen = _Screen()
File "/nix/store/9kzgdmf4q5vxshisils7pzgc6342pcsy-python3-3.10.0/lib/python3.10/turtle.py", line 3679, in __init__
_Screen._root = self._root = _Root()
File "/nix/store/9kzgdmf4q5vxshisils7pzgc6342pcsy-python3-3.10.0/lib/python3.10/turtle.py", line 435, in __init__
TK.Tk.__init__(self)
File "/nix/store/9kzgdmf4q5vxshisils7pzgc6342pcsy-python3-3.10.0/lib/python3.10/tkinter/__init__.py", line 2299, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"
repl process died unexpectedly: exit status 1
I have the same issue I have also look at other python Repls using Tkinter , Pygame as well as java Repls using swing and they all dont work
i see lot of this display errors lately with tk and turtle. This might be a bug indeed.