Answer the question
In order to leave comments, you need to log in
Why can't it find the tkinter module?
For some reason it can't find the module. ModuleNotFoundError: No module named 'tkinter'. I have pip, python, tk installed. I did it with pacman and pip. I ran the program on VSC and PyCharm. One and the same mistake.
PS I have Linux Manjaro.
How can this be fixed?
Answer the question
In order to leave comments, you need to log in
import tkinter as tk
window = tk.Tk()
window.title('Hello World!')
window.mainloop()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question