Tkinter ModuleNotFoundError

Good day,

I am new to Python and tried to use tkinter. I use Windows. The following is what I entered and received. I uninstalled and re-installed Python 3.8.1 to see if there are any options that I can select to include tkiner, but there were no options to select. Thank you

#!/usr/bin/env python
import Tkinter as tk
Traceback (most recent call last):
File “<pyshell#2>”, line 1, in
import Tkinter as tk
ModuleNotFoundError: No module named ‘Tkinter’

1 Like

@Vivien
Under Python 3 the module is called tkinter, not Tkinter.

1 Like

For Python 3 you need the tkinter module. This works slightly different as the old Tkinter, see this example

1 Like

Thank you very much.

1 Like