[Pythonmac-SIG] Third attempt at Carbon Tkinter
Jack Jansen
jack@oratrix.com
Fri, 18 Jan 2002 13:05:53 +0100
On Friday, January 18, 2002, at 11:10 , Tom Smith wrote:
> On Thursday, January 17, 2002, at 09:30 PM, 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 .
>
> I installed 2.2
> ran ConfigurePythonCarbon,
> put _tkinter.carbon.slb and PythonCoreCarbon into my python folder and
> then...
>
> import Tkinter
> Traceback (most recent call last):
> File "<input>", line 1, in ?
> File "Stuff:Carbon Apps:Python 2.2:Lib:lib-tk:Tkinter.py", line 35,
> in ?
> import _tkinter # If this fails your Python may not be configured
> for Tk
> ImportError: <_tkinter.carbon><_tkinter.carbon><InterfaceLib><>: The
> named library was not found.
>
> Have I done something wrong?
>
Yes: you're trying this on Mac OS X:-)
The "Carbon" version of Tkinter will only work on OS9 or earlier, as it
isn't really a Carbon
plugin module: it's a classic module that allows itself to be loaded
into a Carbon MacPython.
This is probably not going to be fixed: if you want Tkinter on Mac OS X
use MachoPython and
the Aqua Tcl/Tk Tkinter.