[Pythonmac-SIG] Tkinter 8.3.4 for classic *and Carbon* MacPython

Francois Granger fgranger@altern.org
Wed, 09 Jan 2002 15:36:35 +0100


on 9/01/02 0:36, Larry Meyn at lmeyn@mail.arc.nasa.gov wrote:

Same here, see below

>=20
> Traceback (most recent call last):
>  File "Macintosh HD:Programming:Python:Python
> 2.2:Demo:tkinter:guido:hanoi.py", line 154, in ?
>    main()
>  File "Macintosh HD:Programming:Python:Python
> 2.2:Demo:tkinter:guido:hanoi.py", line 146, in main
>    h =3D Tkhanoi(n, bitmap)
>  File "Macintosh HD:Programming:Python:Python
> 2.2:Demo:tkinter:guido:hanoi.py", line 31, in __init__
>    self.tk =3D tk =3D Tk()
>  File "Macintosh HD:Programming:Python:Python
> 2.2:Lib:lib-tk:Tkinter.py", line 1487, in __init__
>    self.tk =3D _tkinter.create(screenName, baseName, className)
> TclError: can't find Init resource or a usable Init.tcl file
> in the following directories:
>    {Macintosh HD:System Folder:Extensions:Tool Command Language:tcl8.3}
> perhaps you need to install Tcl or set your
> TCL_LIBRARY environment variable?

MacOS FU1 9.0.4 on G4 Cube
Python 2.2 fresh install
Your patch installed.

I get the same:
Traceback (most recent call last):
  File "Macintosh HD:Desktop Folder:anygui-0.1b1:test:test_button.py", line
4, in ?
    app =3D Application()
  File "Macintosh HD:Python 2.2:Lib:anygui:backends:tkgui.py", line 574, in
__init__
    self._root =3D Tk()
  File "Macintosh HD:Python 2.2:Lib:lib-tk:Tkinter.py", line 1487, in
__init__
    self.tk =3D _tkinter.create(screenName, baseName, className)
TclError: can't find Init resource or a usable Init.tcl file
in the following directories:
    {Macintosh HD:Dossier Syst=E8me:Extensions:Tool Command Language:tcl8.3}
 perhaps you need to install Tcl or set your
TCL_LIBRARY environment variable?