[Pythonmac-SIG] _tkinter

Jack Jansen Jack.Jansen@oratrix.com
Wed May 7 17:17:28 EDT 2003


On woensdag, mei 7, 2003, at 17:19 Europe/Amsterdam, EXT-Bedford, 
Robert L wrote:

> When I try to run a simple tkinter program i.e.
>
> from Tkinter import *
> root=Tk()
>
> I get an error that complain that the version of tcl.h is different.  
> However both items show 8.4 in parens.  I tried to install TCL/TkAqua 
> first and also tried 8.4.1 and 8.4.2  This also occurs running 
> interpretive, from a file or command line (python or pythonw).  While 
> a window comes up the code is essentially dead since root is not 
> defined at this point.  Sorry I don't have the exact message since I 
> am at work and the Macs are home.  Any ideas?  Thanks

The workaround that I've found is that you edit Tkinter.py, and at the 
line where the compare fails
add str() around both the versions.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -





More information about the Pythonmac-SIG mailing list