After downloading python from the website, I found I couldn't access it by typing "python" in terminal.
I found this website: https://fjolt.com/article/python-command-not-found which provided this solution.
echo "alias python=/usr/bin/python3" >> ~/.zshrc
This solution worked, and now typing python in terminal allows me to access the REPL shell.
- What exactly did I do with the original terminal command?
- I heard this is unintuitive and clunky; and instead should download python from home-brew which would automatically install Python in a directory that is accessible by the terminal. Is this true?
- If so, how would I undo the echo "alias command I put in terminal and download python properly through home-brew.