(Python) Divergence between installer and installed version | Sololearn: Learn to code for FREE!

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?

2/21/2021 1:55:38 PM

Alessandro

1 Answer

New Answer

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^^)