Reputation: 1
I installed the tkinter packages from the fedora repo, then I ran a simple turtle code in python... A test one form a website. (with import turtle at the top) I then tried running the following code:
from turtle import *
color('red', 'yellow')
begin_fill()
while True:
forward(200)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
And it got the following error
[max@localhost python]$ python3 test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
import turtle
ImportError: No module named 'turtle'
And now even when I run the original program it no longer works. It gives the exact same error as the test.py program.
Upvotes: 0
Views: 1107