title: Cannot open idle on Mac
body: <p>I have python3.7.2 and idle installed on my mac, both of them came from the official installation package, run without problem for months, until recently I changed my terminal shell to zsh and also installed another version of python when homebrew is trying to have it as a dependency.</p>
  
  <p>Then today any .py file cannot be opened by the idle app, I uninstalled the homebrew version of python, removed the frameworks and the links in /usr/local/bin, but the idle app still cannot be opened. Although the app version cannot be opened, it can be opened by "idle3" in my command line. What's more the python launcher works just fine.
  Then I removed all the versions of python3 installed, used app cleaner to clean the saved state stuff and cleaned all the links used by python3 in /usr/local/bin. Later I installed the python3.7.7 and idle using official .pkg installer. Still idle cannot be opened by double clicking on it. But this time things get even worse, the idle can be opened indirectly sometimes at a nearly random probability if I try to double click on .py files. And even python launcher cannot open .py files in terminal. Now I have no idea how things are going. Can anyone help to analyze how this kind of weird problem occurred?</p>