Can't import turtle module in Python 2.x and Python 3.x
You've called a script turtle.py
, which is shadowing the turtle
module in the standard library. Rename it.
You can fix this problem by installing the python-tk
package.
sudo apt-get install python3-tk