Alibaster Berk
Alibaster Berk

Reputation: 11

Python 3.8 installed on macOS Catolina, default still Python 2.7

When I open a mac terminal in Catalina Version 10 and type python, version 2.7.15 of python opens. However, if I type 'python3.8' from the terminal, version 3.8 opens.

Will there be any unintended consequence if Python 2.7 is completely eradicated from memory? Even if Python 2 must remain for some reason, how can I update my terminal so that the most current version of Python opens when the 'python' command is executed therein?

Upvotes: 1

Views: 208

Answers (1)

Peter R
Peter R

Reputation: 364

https://dev.to/malwarebo/how-to-set-python3-as-a-default-python-version-on-mac-4jjf

That should help you out. Same issue on setting default python version on a Mac.

Upvotes: 1

Related Questions