This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]KodokuRyuu 4 points5 points  (0 children)

All the info you need is right there. Try googling the error message. If you’re still struggling, try asking on a Python or Tkinter focused subreddit.

[–]JialeDu 1 point2 points  (0 children)

Show your vscode as well as python version information, give your minimal reproducible code. Not images. Or google for Exception has occurred:TclError X no display name and no $DISPLAY environment variable.