Answer the question
In order to leave comments, you need to log in
Why can't python find tkinter?
I just can’t get tkinter, I need it to implement open file dialog in eel, but python doesn’t see it in any way.
I tried to install with the command:
sudo apt install python3-tk
from tkinter import *
ModuleNotFoundError: No module named 'tkinter'
Answer the question
In order to leave comments, you need to log in
So I was able to successfully install tkinter. If anyone has the same problem:
From the commands in the terminal, I can assume that you have Linux?
For Ubuntu/Debian try: sudo apt-get install python3-tk
Otherwise read this
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question