I'm trying to learn some basics of Python integration on my Mac.
The crux of my question is: When I open my terminal and type python -V, it returns python 2.7.16. If I then type python3 -V, it returns 3.9.7.
Assumptions:
- I understand my Mac comes pre installed with Python 2
- I recently completed a beginners python YouTube course in which I downloaded python 3 as well as PyCharm.
- When I configure a new .py project in PyCharm, I select Python 3.9 as my interpreter.
I'm trying to bridge the mental gap and better understand the link between my terminal, PyCharm, and the different versions of Python. If I downloaded Python 3, why isn't that displaying when I type python -V in my terminal, broadly speaking?