Python Forum

Full Version: turtle.Screen() not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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