Why can't I import itertools when using Python (with Turtle)?
Hi. I'm 10 and learning with a book called Coding Projects in Python.
It's been going great but I'm stuck trying to import itertools.
I get the error.
ImportError: No module named itertools on line 82
Shouldn't itertools be available to import in repl.it?
Voters
It has been working for me.
Try forking the repl into a new one, and trying it that way. That should solve the problem.
If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!
@vedprad1 Thanks for the answer. But it doesn't work.
Even if I create a brand new repo with one line of code I still get the error.
If you click
+ new repl
and choosePython (with Turtle)
are you able to importitertools
?👉 Here's an simpler example.