Install problem WNT4.0 & TCL
wes weston
wweston at worldnet.att.net
Fri Jan 21 13:35:55 EST 2000
Martin,
I had the exact same problem. To find the fix, I did a find on *.dll on
the tcl tree. This yielded about six files. Then I located them in
winnt/system32, or was it in system. Anyhow, it turned out to be
tk80.dll. I removed tk80.dll from system32 and all worked.
wes
Martin Kew wrote:
>
> Hi,
>
> I have just installed Python a WNT4.0 machine and are having problems
> running 'idle'. When I try to use the Idle icon the machine processed
> for a while and then returned with out a message. I then attempted to
> run Idle manually and got the following message. If I new a bit more
> about Tcl I would try to fix it but I figure that you might be
> interested in the default install not working.
>
>
> C:\Python>python c:\Python\Tools\idle\Idle.py
> Traceback (innermost last):
> File "c:\Python\Tools\idle\Idle.py", line 3, in ?
> PyShell.main()
> File "C:\Python\Tools\idle\PyShell.py", line 611, in main
> root = Tk()
> File "C:\Python\Lib\lib-tk\Tkinter.py", line 886, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: Can't find a usable init.tcl in the following directories:
> {} ./lib/tcl8.0 C:/tcl8.0/library C:/library
>
>
>
> This probably means that Tcl wasn't installed properly.
>
> C:\Python>
>
> I also tried
>
> Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
>
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import _tkinter
> >>> import Tkinter
> >>> Tkinter._test()
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> File "C:\Python\Lib\lib-tk\Tkinter.py", line 1947, in _test
> root = Tk()
> File "C:\Python\Lib\lib-tk\Tkinter.py", line 886, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: Can't find a usable init.tcl in the following directories:
> {} ./lib/tcl8.0 C:/tcl8.0/library C:/library
>
>
>
> This probably means that Tcl wasn't installed properly.
>
> >>>
>
>
> Noting that I installed using py152.exe and changed the install
> directories to c:\Python and c:\Tcl. and also included c:\Python and
> c:\Tcl\bin in an effort to fix the problem. Can anyone help ?
>
>
> --
>
> Regards
>
> Martin Kew
>
> Vision Abell Pty Ltd
> Second Avenue, Technology Park
> Mawson Lakes SA 5095 Australia
> Tel +61 8 8300 4544
> Fax +61 8 8349 7420
> email Martin.Kew at vsl.com.au
> http://www.vsl.com.au
>
More information about the Python-list
mailing list