C:\Python25\Lib\IDLELIB\idle.pyw won't start

Anthra Norell anthra.norell at bluewin.ch
Sat Feb 6 14:33:57 CET 2010

   After reinstalling the whole package things are shaping up. It still 
doesn't work but it fails more to the point of your suggestions. I 
update the responses to your questions:

Anthra Norell wrote:
> Gabriel,
>   Thanks for your hints. I take them up one by one:
> Gabriel Genellina wrote:
>> En Fri, 05 Feb 2010 10:23:57 -0300, Anthra Norell
>> <anthra.norell at bluewin.ch> escribió:
>>>>>    I upgraded from 2.4 to 2.5 and am unable to start an 2.5 idle
>>>>>    window. The OS is Windows ME. The download of 2.5 finished with a
>>>>> warning saying that 2.5 was the highest version for Windows 9* Any
>>>>> tips?
>> I'd suggest a couple more tests.
>> Open the Python interpreter and execute:
>> py> from idlelib import idle
>> This *should* launch IDLE, or raise an error... 
 >>> import idle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:/PYTHON25/lib/IDLELIB\idle.py", line 19, in <module>
  File "C:\Python25\Lib\idlelib\PyShell.py", line 1390, in main
    root = Tk(className="Idle")
  File "C:\PYTHON25\lib\lib-tk\Tkinter.py", line 1647, 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 
    C:/PYTHON25/lib/tcl8.4 C:/lib/tcl8.4 C:/library

Checking for the whereabouts of the tcl8.4 directory  I find it in 
C:/PYTHON25/TCL together with a few more plus some files.


 Volume in drive C is PKBACK# 001
 Volume Serial Number is 07D1-0103
 Directory of C:\PYTHON25\TCL

.              <DIR>        11-25-08  4:09p .
..             <DIR>        11-25-08  4:09p ..
TCL84    LIB       191,802  03-27-06  4:23p tcl84.lib
TCLSTU~1 LIB         2,264  03-27-06  4:23p tclstub84.lib
DDE1     2     <DIR>        11-25-08  4:09p DDE1.2
REG1     1     <DIR>        11-25-08  4:09p REG1.1
TCL8     4     <DIR>        11-25-08  4:09p TCL8.4
TK8      4     <DIR>        11-25-08  4:09p TK8.4
TK84     LIB       167,288  03-27-06  4:44p tk84.lib
TKSTUB84 LIB         2,988  03-27-06  4:43p tkstub84.lib
TIX8     4     <DIR>        02-06-10  1:09p tix8.4
         4 file(s)        364,342 bytes
         7 dir(s)        2,569.25 MB free

This is the way the installer fixed it. The thing to do seems to be to 
move the tcl8.4 dirctory to the lib directory. Before I start upsetting 
things, perhaps you would know whether the whole TCL subtree should move.


More information about the Python-list mailing list