Caution: just getting started with python. MacOS 10.15.7 (Catalina)
I had 3.8.2 installed. I have a /usr/bin/python which is 3.8.2; I probably renamed or re-aliased it to “python” some time ago. Today, I downloaded and installed 3.9.2. Then I found and followed The right and wrong way to set Python 3 as default on a Mac, which advises using Homebrew to install pyenv and then use pyenv to install python 3.[latest]. I did that, and then a “pyenv global 3.9.2”. So I might have two of python 3.9.2, one from the python.org installer and one from pyenv? (The installer put a “Python 3.9” folder in my Applications folder; it contains an IDLE.app and various docs and commands.) In any case I still have 3.8.2 and perhaps earlier versions… I see that in /usr/local/bin I have pip, pip3, pip3.8, and pip3.9.
If nothing else, I’d like to free disk space that will never be used. What should I do to clean up any mess that I’ve made? Also, I’d like to type something shorter than “python3.9” to run it from zsh.