Hi - I don’t know what you mean by “IDLE 3 voice”. But what does Spotlight show when you search for IDLE? (Command + Spacebar, then type: “IDLE”)? Does it show up any remaining traces of the Python IDLE app on your machine?
Maybe you need to rebuild the launch services database?
I have run this in the past to fix a related issue.
In my case duplicate versions of an app i was developing.
-r -domain local -domain system -domain user
If you want more background about lsregister, then this blog post may be helpful (coming from a truly excellent blogger):
Before running this, I would first verify:
is there perhaps still a directory /Library/Frameworks/Python.framework (with contents)?
is there still a directory ~/Library/Frameworks/Python.framework (with contents)?
are there still Python dirs under /Applications?
Btw - I would be wary of security risks in using third-party/non-Apple apps. For cleaning up or uninstalling apps or Python, there is no need at all to use any third-party stuff ((1) It’s very easy to do this manually. But also (2) It’s not necessary to mess with the system python in order to use other versions of Python.)
Assuming that Python was really removed, your screen shot shows that the launcher db needs to be rebuild. So, Barry’s command could help.
But I would first do the verification steps that I mentioned. You could also see if rebooting perhaps fixes the issue (by automatically rebuilding the internal db), but it might not.
If you do find traces of Pythons, you can simply run rm -rf on them first.
Ok, you may want to stop right there. Carefully read back what Barry wrote and what I wrote. Barry was not telling you to remove anything, just to run a particular command using lsregister. I wrote that you could remove very particular dirs, but if you feel uncertain about that, or don’t know what effects that could have, better don’t do so.
The dirs under /Library/Developer are very likely installed by XCode, so you also do better to not touch those.
Coming back to your original post - The easiest, totally safe way to proceed for you is to right-click on a .py and then select “Other…” or select some text editor to associate with Python files. The fact that there is still some Python inside the Developer tools really doesn’t matter.
Then if you want to install another Python - go ahead, install one. Preferably use the GUI from a .dmg file.
Once you have installed that, locate where it is installed, and then again right-click on a .py file in the launcher menu, and associate the new python executable or IDLE with it.
Just out of curiosity – Which third-party app did you use to remove Python originally?
And why did you believe you needed to remove the system-wide Python or why did you want to remove it?