I use Debian 11 and have the newest version of python installed (3.9). After cloning I executed Bot.py and this error came. I hope you can help me. Thank you.
Crash report:
Traceback (most recent call last):
File "/home/discordbot/Aternos-On-Discord/Bot.py", line 23, in
launch_config()
File "/home/discordbot/Aternos-On-Discord/Configure.py", line 8, in launch_config
window = 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
I use Debian 11 and have the newest version of python installed (3.9). After cloning I executed Bot.py and this error came. I hope you can help me. Thank you.
Crash report: Traceback (most recent call last): File "/home/discordbot/Aternos-On-Discord/Bot.py", line 23, in
launch_config()
File "/home/discordbot/Aternos-On-Discord/Configure.py", line 8, in launch_config
window = 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