Relative Content

Tag Archive for pythontkinterdeploymentcloudpythonanywhere

Can’t run my Python app on PythonAnywhere

17:21 ~ $ python main.py Traceback (most recent call last): File “/home/SpidY/main.py”, line 66, in <module> window = Tk() File “/usr/local/lib/python3.10/tkinter/__init__.py”, line 2299, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable 17:21 ~ $ main.py is perfectly running on my local machine […]