classification
Title: IDLE not loading in xp pro due to tcl issue
Type: crash Stage:
Components: IDLE Versions: Python 2.7
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: Grant.Andrew, terry.reedy
Priority: normal Keywords:

Created on 2010-10-03 04:19 by Grant.Andrew, last changed 2010-10-08 23:27 by terry.reedy. This issue is now closed.

Messages (2)
msg117907 - (view) Author: Grant Andrew (Grant.Andrew) Date: 2010-10-03 04:19
I'm attempting to use Python for the first time and am running into issues before I'm out the door.  I started with 3.2 and have worked backward installing older versions in hopes that IDLE would load on my xp pro laptop.  

After reading several threads here, I ran C:\>C:\python27\python C:\python27\Lib\idlelib\idle.py at a command prompt and received the following output:

C:\>C:\python27\python C:\python27\Lib\idlelib\idle.py
Traceback (most recent call last):
  File "C:\python27\Lib\idlelib\idle.py", line 11, in <module>
    idlelib.PyShell.main()
  File "C:\python27\Lib\idlelib\PyShell.py", line 1389, in main
    root = Tk(className="Idle")
  File "C:\python27\lib\lib-tk\Tkinter.py", line 1685, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, want
objects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    {C:\IBMTOOLS\Python22\tcl\tcl8.4} C:/IBMTOOLS/Python22/tcl/tcl8.5 C:/python2
7/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.2/libra
ry C:/tcl8.5.2/library

C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl: version conflict for package "Tcl": ha
ve 8.5.2, need exactly 8.4
version conflict for package "Tcl": have 8.5.2, need exactly 8.4
    while executing
"package require -exact Tcl 8.4"
    (file "C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl" line 19)
    invoked from within
"source C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $tclfile]"


This probably means that Tcl wasn't installed properly.

After searching threads here and a general google search on TCL I couldn't turn up a link that helped with this issue.  The closest tcl version available is 8.4.19 which isn't exact, so I'm hesitant to install this and blow something else up.

Help is appreciated!

Grant
msg118235 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-10-08 23:27
Please ask for help with installation and usage on the python-list mailing list, which is also mirrored on the gmane.comp.python.general newsgroup at news.gmane.org and the comp.lang.python usenet newsgroup. This issue tracker is for python bugs (and feature requests).

Your problem probably stems from the fact that you have both python22 and python27 on the search path, but I cannot say why or what you need to do. Ask as suggested above, specifying exactly how you installed python.

PS. 2.5 and 2.6 are closed to normal bug reports.
History
Date User Action Args
2010-10-08 23:27:33terry.reedysetstatus: open -> closed
versions: - Python 2.6, Python 2.5
nosy: + terry.reedy

messages: + msg118235

resolution: invalid
2010-10-03 04:19:21Grant.Andrewcreate