-2

pic of my terminal

I've installed MAMP and python 2.7 before. But I've deleted both of them. But why are they still there? And how to change my default python to 3.7? My pycharm couldn't even detect the python 3.7

kayla
  • 25
  • 4
  • 2
    Does this answer your question? [How to set Python's default version to 3.x on OS X?](https://stackoverflow.com/questions/18425379/how-to-set-pythons-default-version-to-3-x-on-os-x) – David Dec 19 '19 at 09:27
  • Don't post pics of text but insert the text into your question; such text includes terminal output. Pics are not searchable, amendable etc. – planetmaker Dec 19 '19 at 09:27

1 Answers1

0

Edit bash_profile
$ nano ~/.bash_profile
Add Python Alias
$ alias python='python3'
Reload bash_profile
$ source ~/.bash_profile
Check version
$ python --version

Abdul Mateen
  • 94
  • 1
  • 5