Python Forum
IDLE can't import Tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDLE can't import Tkinter
#1
I'm using red hat and uninstalled a prior 2.7.5 python version to install the 3.6.8 version with the idle, tk and tkinter however, no matter how I install the products I got the following message when I try to start idle3:

** IDLE can't import Tkinter.
Your Python may not be configured for Tk. **

Could someone please point me in the right direction?

Thanks!
Reply
#2
try this link here build tlc
and this link stack question
Reply
#3
For Python3.X use a lower case t
import tkinter
Reply
#4
The issue was solved after installing Python manually (configure, make, install...) instead of the software manager. Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb [Tkinter] Tkinter Class Import Module Issue AaronCatolico1 6 2,969 Sep-06-2022, 03:37 PM
Last Post: AaronCatolico1
  [Tkinter] Tkinter - I have problem after import varaible or function from aGUI to script johnjh 2 2,521 Apr-17-2020, 08:12 PM
Last Post: johnjh
  import Tkinter orestgogosha 1 2,881 Mar-27-2020, 03:32 PM
Last Post: DT2000
  [Tkinter] Top Level Window - from tkinter import * francisco_neves2020 6 4,091 Apr-23-2019, 09:27 PM
Last Post: francisco_neves2020
  tkinter import problems on mac Lux 2 6,153 Jul-30-2017, 07:14 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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