IDLE will not start. I have installed python via the
python-2.6-macosx.dmg image found on http://www.python.org/download/. I
didn't find any resolutions in bugs.python.org, but did note that you
are having some trouble with tk (as discussed in other bugs). I haven't
tried much to troubleshoot the issue yet other than note that the 2.5
version of IDLE does start. Below is some info on the problem:
I see the following in my logs every time I try and start IDLE:
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Traceback (most
recent call last):
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File
"/Applications/Python 2.6/IDLE.app/Contents/Resources/idlemain.py", line
6, in <module>
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: from
idlelib.PyShell import main
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/PyShell.py",
line 14, in <module>
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import
macosxSupport
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/macosxSupport.py",
line 6, in <module>
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import Tkinter
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line 39, in <module>
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: import
_tkinter # If this fails your Python may not be configured for Tk
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter.so,
2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Referenced
from:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter.so
Oct 23 07:15:03 kaos [0x0-0x30030].org.python.IDLE[333]: Reason: image
not found
Oct 23 07:15:03 kaos com.apple.launchd[87]
([0x0-0x30030].org.python.IDLE[333]): Exited with exit code: 1
I looked, and found the following in the referenced directory:
-rwxrwxr-x 1 root admin 225936 Oct 1 17:49 _tkinter.so
System info:
MacBook Pro, Intel Core 2 Duo, 2 GB RAM, Mac OS X 10.5.5
|