[Tutor] Tkinter headache Again
paul butler
paul@entropia.co.uk
Wed Jan 22 06:20:14 2003
Dear list
Moved the tcl directory into LIB and idle reappeared. This is nice,
but I remain bewildered as to why or how I could remedy the
situation using paths etc
Cheers
Paul Butler
>
> After messing about with path:
>
> %SystemRoot%\system32;%SystemRoot%;c:\Program
> Files\Mts;D:\SQLANY\Im5i32;D:\SQLANY\Sys32;D:\SQLANY50\wi
> n32;C:\PROGRA~1\COMMON~1\Odbc\FILEMA~1;D:\Executive\;C:
> \python22\;c:\Python22\tcl\
>
> and
>
> pythonpath
>
> C:\Python22\
> ;C:\Python22\Tools\;C:\Python22\DLLs\;C:\Python22\include\;C:\Py
> thon22\Lib\;C:\Python22\libs\;C:\Python22\tcl\;C:\Python22\Lib\lib-
> tk\;C:\python22\tcl\tcl8.3\
>
> I got Tkinter to load
> on running the test from a console this was the result
>
> Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
> win32 Type "help", "copyright", "credits" or "license" for more
> information. >>> import Tkinter >>> Tkinter._test() Traceback (most
> recent call last):
> File "<stdin>", line 1, in ?
> File "C:\Python22\Lib\lib-tk\Tkinter.py", line 3094, in _test
> root = Tk()
> File "C:\Python22\Lib\lib-tk\Tkinter.py", line 1495, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: Can't find a usable init.tcl in the following directories:
> {} C:/Python22/lib/tcl8.3 C:/lib/tcl8.3 lib/tcl8.3
> lib/tcl8.3/library
> librar
> y ../tcl8.3/library
>
>
>
> This probably means that Tcl wasn't installed properly.
>
> >>>