Turtle/Tkinter issues

I’m an educator that is looking to move away from Replit. I’m currently loving the professional feel of VS Code Education which I think will prepare students for using a professional IDE. However I can’t run the turtle module as I get an error that implies tkinter is missing.

However, both turtle and tkinter are suggested via autocomplete when typing ‘import turtle’ or ‘import tkinter’ so I’m not sure if I’m doing anything wrong or need to configure my environment somehow?


Traceback (most recent call last):
File “/usr/files/personal/VSCode Edu/main.py”, line 1, in
import turtle
File “/usr/python/python.3.11-4/lib/python3.11/turtle.py”, line 107, in
import tkinter as TK
ModuleNotFoundError: No module named ‘tkinter’

1 Like