I want the python command to work in the zsh terminal and launch python 2.7.
Please Note
- Python 2 is NOT pre-installed in MacOS. That ended with v12 MacOS Monterey.
- I am NOT looking for Python 3. I already have that, the python3 command works and I do not want 'python' to be an alias for it.
- I ran "pyenv install 2.7.18". The 'python' command still does not work and pyenv shoving python2 into some subdirectory of a single user was never what I wanted. When I enter "which python3" it's in /usr/local/bin. I want a command that installs python 2.7 into a system-wide directory.
I don't want to install python 2.7 per-user and have to edit every .zshrc on every system to add an alias to some user subdirectory.
How, for the love of God, do you install python 2.7, system-wide on MacOS Monterey, so the 'python' command just works?