cannot invoke IDLE

ahimsa ahimsa at onetel.net.uk
Sun Dec 1 14:10:20 EST 2002


Hello
n00b here: This is the output I get when I attempt to invoke IDLE for
Python 2.2.2. Consequently, I installed the 2.2.1 RPMs thinking this
would fix the problem, but nope ... same output:

	[username at localhost username]$ idle
	Traceback (most recent call last):
	  File "/usr/lib/python2.2/site-packages/idle/idle.py", line 3, 		in ?
import PyShell
  	  File "/usr/lib/python2.2/site-packages/idle/PyShell.py", line
		13, in ? from Tkinter import *
	  File "/usr/local/lib/python2.2/lib-tk/Tkinter.py", line 35, in
		?   import _tkinter # If this fails your Python may not
		 be configured for Tk
	ImportError: No module named _tkinter


Question(s):
1. What did I do wrong (I just followed the default install)?
2. How can I fix it?

System Info: Am using RedHat 8.0, so am wondering if the distro has
changed the directory lay-out or some such.
Help would be appreciated.
Cheers
AmF


-- 
ahimsa <ahimsa at onetel.net.uk>





More information about the Python-list mailing list