Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I tried installing the python27 and python32 packages via MacPorts in Mac OS X 10.6.8. It includes the standard IDLE, Python Launcher, and Build Applet applications. However, when I start them, their icons would bounce briefly in the dock then disappear.

Does anyone know how to troubleshoot this problem so the IDLE (and other applications) installed via MacPorts can start and function correctly?

Thank you!

BTW, having only one Python version installed by MacPorts didn't help.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

IDLE requires TK to work. You need the tkinter package for your version of python in order for IDLE to work. You probably want py27-tkinter and py32-tkinter. Unfortunately, you'll probably have to go with the default xll version, the +quartz variant is not well maintained upstream. It won't build in x64 on Lion+ or with Xcode 4.4+ because it uses deprecated QuickDraw APIs which don't exist in the 10.7+ SDKs. Xcode no longer includes a 10.6 SDK, but you might be able to get it to work on 10.6.

https://trac.macports.org/ticket/32329

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.