Python Forum
ImportError: No module named tkinter.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImportError: No module named tkinter.
#1
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.
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'tkcalendar', Thonny, Windows 10 Edward_ 4 869 Apr-06-2025, 07:56 PM
Last Post: Edward_
  No module named 'importlib.metadata' EdVS 3 1,100 Jan-30-2025, 09:55 AM
Last Post: Larz60+
  Help on tkinter module upendra 8 2,013 Nov-10-2024, 03:14 PM
Last Post: menator01
  ModuleNotFoundError: No module named 'athena_read' raman 2 1,325 Jul-01-2024, 07:52 AM
Last Post: Gribouillis
  no module named 'docx' when importing docx MaartenRo 1 5,726 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 31,284 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 10,196 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 4,566 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 3,906 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 3,263 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020