turtle ?

Gerhard Häring gh at ghaering.de
Tue Dec 23 05:29:31 EST 2008


sai wrote:
> python newbie here  :-)
> 
> I am trying to get turtle to run but got stuck here:
> 
> $ python
> Python 2.5.2 (r252:60911, Aug  5 2008, 16:17:28)
> [GCC 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import turtle
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named turtle
> 
> I have used google to search the web and the newsgroup but got
> nothing. The Linux distro is Mandriva, if that makes a difference.

Mandriva have probably split Python into several packages. If so,
chances are one of them contains the tkinter GUI library. You should
look in your package management tool for a package called
python-tkinter, python-tk or similar and install it.

HTH

Gerhard




More information about the Python-list mailing list