Novice programmer. From how to think like a computer scientist, I got the following code:
The program seems simple enough, but I get the following error:
ImportError: No module named turtle
After some internet research, I read that the turtle module can be found in the tkinter package. And therefore, since I have two different python installations, Python 2.7.3 and Python 3.2.3
I ran the following commands in an Ubuntu terminal, hoping to install the missing python modules:
sudo apt-get install python-tk sudo apt-get install python3.2-tk
It wasn’t me anywhere. So how can I install the missing modules for both versions of python?
Thanks!
source share