[issue43531] Turtle module does not work

Adrian LeDeaux report at bugs.python.org
Wed Mar 17 12:06:02 EDT 2021


New submission from Adrian LeDeaux <aledeaux at gmail.com>:

So when I try to do the command "import turtle" all I get back is: 

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    import turtle
  File "/Users/Virsatech/Documents/turtle.py", line 2, in <module>
    t = turtle.Pen()
AttributeError: partially initialized module 'turtle' has no attribute 'Pen' (most likely due to a circular import)

that error exactly. And I have tried many times. Anyone know how to fix?

----------
assignee: terry.reedy
components: IDLE
messages: 388931
nosy: aledeaux, terry.reedy
priority: normal
severity: normal
status: open
title: Turtle module does not work
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43531>
_______________________________________


More information about the Python-bugs-list mailing list