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 On Sat, Feb 12, 2022, at 20:52, Wissam Daccache wrote: > On Friday, February 11, 2022 at 11:25:07 AM UTC+2 [email protected] wrote: >> __ >> Can you show me the error message that is given when you ìmport turtle`? >> >> On Fri, Feb 11, 2022, at 10:19, Wissam Daccache wrote: >>> Using windows 10 >>> and i installed python from official website and install pyzo >>> On Friday, February 11, 2022 at 11:10:52 AM UTC+2 [email protected] wrote: >>>> __ >>>> 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 [email protected]. >>>>> To view this discussion on the web, visit >>>>> https://groups.google.com/d/msgid/pyzo/a81997d8-b290-4dba-ab4c-62d9d32a93d0n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/pyzo/a81997d8-b290-4dba-ab4c-62d9d32a93d0n%40googlegroups.com?utm_medium=email&utm_source=footer>. >>>> >>> >>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web, visit >>> https://groups.google.com/d/msgid/pyzo/56ab4c26-c774-40f9-95cf-2c2e503ce351n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/pyzo/56ab4c26-c774-40f9-95cf-2c2e503ce351n%40googlegroups.com?utm_medium=email&utm_source=footer>. >> > > > -- > 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 [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/pyzo/5e146f58-350e-412b-943c-52fccf5590c4n%40googlegroups.com > > <https://groups.google.com/d/msgid/pyzo/5e146f58-350e-412b-943c-52fccf5590c4n%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > *Attachments:* > * Screenshot_1.png -- 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 [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/pyzo/561b6883-fc19-46a7-a84f-934bfabda473%40www.fastmail.com.
