ModuleNotFoundError: No module named 'tkinter'

The aforementioned error showed up when I tried to use the Turtle class. I was following a tutorial where it's used to pop up a window in the screen. The code is simple:

from turtle import Turtle, Screen
jabba = Turtle()

my_screen = Screen()

But in the terminal it says:

ModuleNotFoundError: No module named 'tkinter'

I'm on Ubuntu 20.04 using PyCharm professional IDE.

Answers 2

Related Questions