Tkinter and OS X 10.3?

Russell E. Owen no at spam.invalid
Mon Jan 5 13:53:51 EST 2004


In article <7ba1cb43.0312301205.30156acf at posting.google.com>,
 parki at whatevernot.com (Brian Parkinson) wrote:

>I have tried to get Tkinter working on my Mac (OS X 10.3). I installed
>MacPython 2.3 and the TclTkAquaBI-8.4.2.0.dmg.
>
>When I type:
>
>import Tkinter
>r = Tkinter.Tk()
>
>I get a window all right, but clicking on the window causes the
>following error:
>
>SetFrontProcess failed,-606
>
>the window can't properly get focus.
>
>Had same problem when I tried the example Tk application that comes
>with nltk (Natural Language Toolkit).
>
>Any ideas?

You are almost certainly typing python instead of pythonw at the 
terminal prompt. This results in exactly the error described. (I'm not 
sure why there are two commands instead of python doing whatever extra 
magic pythonw does.)

-- Russell



More information about the Python-list mailing list