Python Forum

Full Version: ImportError: No module named tkinter.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello python.org, I have a problem import tkinter module which is summarized as a result.
indeed I follow beginner in python, and I use the system linux mint 19.2 and IDE atom for my project.
in the terminal, the import of python works marvel well the tcl and others. but the problem is that when I import the module tkinter into atom, it shows me this error importError: No module named tkinter.
however I would like to be able to use it. I have searched everywhere but no satisfactory result.
thank you for helping me. how to settle that.
Please note:
if python version < 3.0
use:
import Tkinter
Capital T (but you should upgrade python instead)

version >= 3.0:
import tkinter
lower case t