draw shapes using turtle in Pyzo

42 views
Skip to first unread message

Wissam Daccache

unread,
Feb 11, 2022, 3:11:53 AM2/11/22
to Pyzo
Facing some problem in importing turtle object in Pyzo
I typed pip install turtle but did not work

Almar Klein

unread,
Feb 11, 2022, 4:10:52 AM2/11/22
to Pyzo
You should be able to do `import turtle`. If not, what OS are you on, and how did you install Python?

Best,
  Almar

On Fri, Feb 11, 2022, at 09:11, Wissam Daccache wrote:
Facing some problem in importing turtle object in Pyzo
I typed pip install turtle but did not work


--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+uns...@googlegroups.com.

Wissam Daccache

unread,
Feb 11, 2022, 4:19:32 AM2/11/22
to Pyzo
Using windows 10
and i installed python from official website and install pyzo

Almar Klein

unread,
Feb 11, 2022, 4:25:07 AM2/11/22
to Pyzo
Can you show me the error message that is given when you ìmport turtle`?

Wissam Daccache

unread,
Feb 12, 2022, 2:52:57 PM2/12/22
to Pyzo
Screenshot_1.png

Almar Klein

unread,
Feb 13, 2022, 3:27:26 PM2/13/22
to Pyzo
Ah, I see what's going on. You have created a file called turtle.py, and Python is importing that instead of the official turtle module. Rename that file and you should be good :)

Best,
  Almar


Attachments:
  • Screenshot_1.png

Reply all
Reply to author
Forward
0 new messages