user12970247
user12970247

Reputation:

Terminal outputting: Python 2.7.16 Even though I have 3.8.2 installed

I installed python 3.8.2 in my mac but every time I do in my terminal:

python --V

I get:

Python 2.7.16

I think there should be my 3.8.2 version instead of the old one. Any reasons why this is happening? Thanks in advance

Upvotes: 0

Views: 395

Answers (1)

You installed Python 3, but that doesn't mean that Python 2 is gone. Either type python3 instead of python, or adjust your PATH so that 3 is first.

Upvotes: 1

Related Questions