Problem: I am using Mac Catalina 10.15. I know that Catalina installed Python 2.7 already and I installed Python 3.7.3. Then I also installed Anaconda which contained Conda, Python 3.7.3. Now I have 3 Pythons:
A. /usr/bin/python -> python 2.7
B. /usr/bin/python3 -> python 3.7.3
C. /Users/david/anaconda3/python.app/Contents/MacOS/python -> python 3.7.6
When I type "python3" in terminal it will run B. But I want to change "python3" command to open C.
What I tried: I found "/Users/david/.bash_profile" and added
alias python3="/Users/david/opt/anaconda3/python.app/Contents/MacOS/python"
at end of the file but "python3" still opens B. How can I open Anaconda Python by typing "python3" in the terminal?
$ source ~/.bash_profile?