0

(Python) Divergence between installer and installed version

Good morning everyone, I have a problem that I just can’t understand what it could derive from. I have a Mac and from the official python website I downloaded version 3.9.2 for Mac, but when I type “python -V” (or “python —version”) in the terminal it tells me that the installed version is 2.7.16. What do you think it means?

21st Feb 2021, 1:55 PM
Alessandro
1 Réponse
0
Probably Python 2 was pre-installed... if you have installed the Python 3 installer downloaded, try "python3 -V" (if that works, you should use pip3 to (un)install modules^^)
21st Feb 2021, 2:00 PM
visph
visph - avatar