Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
turtle.Screen() not working
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Noob question: why is shapesize() not working for my turtle adifrank 8 1,251 Sep-09-2020, 11:13 PM
Last Post: adifrank
  Python 3 Turtle - Screen Events and Coords peteralien 0 534 Aug-18-2020, 11:25 PM
Last Post: peteralien
  setup() from turtle module not working bobfat 7 2,263 Oct-28-2019, 11:05 AM
Last Post: newbieAuggie2019
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 4,228 Feb-06-2019, 01:25 AM
Last Post: woooee
  Help! Turtle not working, even when we click the turtle demo in IDLE nothing happens. BertyBee 3 3,018 Jan-04-2019, 02:44 AM
Last Post: SheeppOSU
  Working with turtle graphics in python and colour slices of a pie graph... netrate 1 2,618 Feb-03-2018, 08:41 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020