Ronald Oussoren wrote: > > Do you have a custom version of Tcl/Tk in /Library/Frameworks? What does > the following command print: > $ otool -Lv > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/_tkinter.so > > It seems that I have a custom version of Tk installed on my build machine > (without knowing it), which means _tkinter.so links to > /Library/Frameworks/{Tcl,Tk}.framework instead of the system ones. There's > obviously a fallback to the system one because I don't have this framework > on my laptop, yet IDLE works there. If you do have a Tk.framework in > /Library/Frameworks as well you could try to move that (and Tcl.framework) > aside, although I don't know what that might break. > > Could you add a '#' before line 26 in > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/idlelib/macosxSupport.py > and then add a line with 'pass' just below that to make hideTkConsole a > valid function again? That should get you going again.
Thank you very much. It turned out that I had previously installed ActiveState Tcl. I removed the Tcl and Tk frameworks from /Library/Frameworks and IDLE launched with no problem. I didn't even need to comment line 26 and add the pass command. So, everything seems to be working properly again. -Rodney _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig