[Pythonmac-SIG] Third attempt at Carbon Tkinter
Francois Granger
fgranger@altern.org
Thu, 17 Jan 2002 22:55:17 +0100
At 22:30 +0100 17/01/02, in message [Pythonmac-SIG] Third attempt at
Carbon Tkinter, Jack Jansen wrote:
>Folks,
>a third atttempt at an _tkinter.carbon.slb is now available at
>http://www.cwi.nl/ftp/jack/python/mac/newer .
>
>This is built with the same 8.4.0 Tcl/Tk that the _tkinter.ppc.slb
>that is in the 2.2 distribution was built with (so that's why
>there's no accompanying PPC version, you have it already). Please
>give this a try and let me know whether this is a feasible solution
>for MacPython 2.2.1.
Quick test:
Traceback (most recent call last):
File "HD:Python misc:anygui:test:test_button.py", line 4, in ?
app = Application()
File "HD:Python 2.2:Lib:anygui:backends:tkgui.py", line 574, in __init__
self._root = Tk()
File "HD:Python 2.2:Lib:lib-tk:Tkinter.py", line 1487, in __init__
self.tk = _tkinter.create(screenName, baseName, className)
TclError: can't find Init resource or a usable Init.tcl file
in the following directories:
{HD:Dossier Système:Extensions:Tool Command Language:tcl8.3}
perhaps you need to install Tcl or set your
TCL_LIBRARY environment variable?