ImportError: No module named _tkinter, please install the python-tk package
sudo apt-get install python-tk
ImportError: No module named _tkinter, please install the python-tk package
sudo apt-get install python-tk
ModuleNotFoundError: No module named 'Tkinter'
try:
# for Python2
# sudo apt-get install python-tk
from Tkinter import * ## notice capitalized T in Tkinter
except ImportError:
# for Python3
# sudo apt-get install python3-tk
from tkinter import * ## notice lowercase 't' in tkinter here
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us