I also encountered this problem, just I have to remove /usr/loca/bin/idle24 and /usr/local/bin/smtpd.py (I installed MacPorts to /usr/local). It's also the case for python25. I guess uninstalling and deactivating old version do not clean things cleanly.