[Pythonmac-SIG] Mac OS X 10.3 and Tkinter
djacomy at yahoo.fr
Sat Sep 11 08:51:39 CEST 2004
> Thanks for this piece of in formation. I haven¹t seen this page yet.
> But the problem is greater than I think.
> I can¹t use the module Tkinter without IDE,
> because when I use a windowing toolbox outside the IDE, I have another error :
> ImportError: No module named _tkinter,
> although the module _tkinter was installed by package manager.
> Your answer can be found in the MacPython FAQ located at
> I've copied the relevant FAQ below. Good luck!
> 3.7 The IDE crashes when I run a Tkinter script (PyObjC script, wxPython
> The IDE uses the old Carbon GUI toolbox for its windowing. Trying to run a
> script that brings in its own GUI toolbox (such as Tck/Tk, Cocoa, wxWindows or
> anything else) will cause great confusion: redraws and events for the
> toolboxes will be sent to the wrong place, etc. At best things will not work
> as expected, at worst the IDE will crash.
> For the time being you should run almost all scripts that use a windowing
> toolbox outside the IDE, either with the pythonw program from a Terminal
> window or with PythonLauncher from the Finder.
> On Sep 10, 2004, at 3:10 PM, Damien JACOMY wrote:
>> Hi folks,
>> the IDE crashes every time when running this test :
>> import _tkinter => ok
>> import Tkinter => ok
>> Tkinter._test() => the widget open and then CRASH!!!!
>> the stack trace in the Console window is :
>> Fatal Python error: PyEval_SaveThread: NULL tstate
>> Thanks for you help.
>> Damien JACOMY
>> <djacomy at yahoo.fr>
>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> Larry Meyn
> Aerospace Operations Modeling Office
> M/S 210-10
> NASA Ames Research Center
> Moffett Field, CA 94035-1000
> E-mail: Larry.A.Meyn at nasa.gov
> Phone: (650) 604-5038
> Fax: (650) 604-0222
> E-Fax: (425) 944-5526 sent via e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pythonmac-SIG