[ python-Bugs-922914 ] Installer misplaces tcl library

SourceForge.net noreply at sourceforge.net
Thu Mar 25 00:55:02 EST 2004


Bugs item #922914, was opened at 2004-03-25 13:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=922914&group_id=5470

Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: WS Wong (wswong)
Assigned to: Nobody/Anonymous (nobody)
Summary: Installer misplaces tcl library

Initial Comment:
Python 2.3.3 on Windows 2000 Professional
-------------------------------------------
Could not start IDLE after installation of Python in 
C:\WSPrograms\Python23

Went to C:\WSPrograms\Python23\Lib\idlelib and from 
the command line typed
C:\WSPrograms\Python23\python idle.py

The following traceback obtained:

C:\WSPrograms\Python23
\Lib\idlelib>c:\wsprograms\python23\python idle.py
Traceback (most recent call last):
  File "idle.py", line 23, in ?
    idlelib.PyShell.main()
  File "C:\WSPrograms\Python23\lib\idlelib\PyShell.py", 
line 1269, in main
    root = Tk(className="Idle")
  File "C:\WSPrograms\Python23\lib\lib-tk\Tkinter.py", 
line 1564, in __init__
    self.tk = _tkinter.create(screenName, baseName, 
className)
_tkinter.TclError: Can't find a usable init.tcl in the 
following directories:
    {C:\WSPrograms\ruby167ms\tcl\lib\tcl8.3} 
{C:\WSPrograms\ruby167ms\tcl\lib\tc
l8.3} C:/WSPrograms/ruby167ms/tcl/lib/tcl8.4 
c:/wsprograms/python23/lib/tcl8.4 c
:/wsprograms/lib/tcl8.4 c:/lib/tcl8.4 
c:/wsprograms/library c:/library c:/../tcl
8.4.3/library

Looking at the directories that was installed, 
I found that the tcl8.4 was actually located in
C:\WSPrograms\Python23\tcl\tk8.4
which was never on the search path.

After I copied the tcl8.4 directory to  
C:\WSPrograms\Python23\Lib
and run the commands again, it worked. Not sure what 
other implications this will cause 
but at least I have IDLE running again. 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=922914&group_id=5470



More information about the Python-bugs-list mailing list