Tkinter graphic does not work on the tkinter template

Problem description:
tkinter graphic does not work on the tkinter template

Expected behavior:
A new window with label and button is shown.

Actual behavior:
The following error message is shown in the console:

Traceback (most recent call last):
  File "", line 3, in <module>
    window = tk.Tk()
  File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/tkinter/", line 2270, in __init__ = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"

Steps to reproduce:

  1. Create new Repl
  2. Select “tkinter” template
  3. Click “Run”

Bug appears at this link:

Chrome, Windows 11, Asus Zenbook laptop


This type of error seems to be happening to multiple people who are trying to use different methods of any type of display, so I think it’s something on the server-side, rather than something we may be able to fix.

1 Like

In this case who is responsible to fix such kind of issues?

An incident is reported. We can only wait now

1 Like

Replit problably
This is where it also has been reported: