Explore python's turtle
library with tkinter
.
You need to install python3
and tkinter
.
Check the Tk docs to check and verify if the latest version is installed.
Then, execute the following
$ cd src
$ python3 tourtheturtle.py
If you get an error for tkinter
$ python3 tourtheturtle.py
.....
File "/usr/lib/python3.10/turtle.py", line 107, in <module>
import tkinter as TK
ModuleNotFoundError: No module named 'tkinter'
$ pip install tkinter
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none)
ERROR: No matching distribution found for tkinter
$ sudo apt-get install python3-tk