How to Fix - no module named tkinter error in Python

preview_player
Показать описание

Learn how to fix the python error "no module named tkinter" error in Python

Content

00:00 - Introduction
00:40 - What is Tkinter module
01:20 - How To Fix "no module named tkinter"

Want to become a software developer? Check out my blog for more tips and guidance:

My 100% Recommended python books:

Hope you enjoy the video and Happy coding! :)
Рекомендации по теме
Комментарии
Автор

Marta, Tengo el problema a la hora de llamar tkinter en pycharm para linux, he probado python3 -m tkinter y realmente se abre la pantalla tal como explicas en el video, aunque a la hora de llamarlo en pycharm, me da el error ModuleNotFoundError: No module named 'tkinter'

guillermosantamariamendez
Автор

I'm so confused, I installed tkinter, but it says tkinter module is not found:

~$ sudo apt-get install python3-tk && python3 -m tkinter
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tk is already the newest version (3.5.1-1).
0 upgraded, 0 newly installed, 0 to remove and 144 not upgraded.
/usr/bin/python3.7: No module named tkinter

IvanIvanov-qxoz
Автор

for Linux Debian 11. run in install folder: ./configure -ltcl8.5 -L/usr/lib64 -ltk8.5"

MrSstar