(Python) Divergence between installer and installed version | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
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