Python Forum
turtle.Screen() not working - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: turtle.Screen() not working (/thread-26497.html)



turtle.Screen() not working - Jdawgg531 - May-04-2020

so in the python shell i imported turtle(I had tkinter installed don't worry) and then typed in the following:

wn = turtle.Screen()
when I hit enter, i got an error message:
Error:
File "<stdin>", line 1, in <module> File "/usr/lib/python3.8/turtle.py", line 3662, in Screen Turtle._screen = _Screen() File "/usr/lib/python3.8/turtle.py", line 3678, in __init__ _Screen._root = self._root = _Root() File "/usr/lib/python3.8/turtle.py", line 434, in __init__ TK.Tk.__init__(self) File "/usr/lib/python3.8/tkinter/__init__.py", line 2261, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: unknown color name "BACKGROUND"
i am using Manjaro on the raspberry pi 4 if that means anything.

If anyone can help me, that would be great Big Grin