(Python) Divergence between installer and installed version | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
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