Home > other >  Python2 upgrading to Mac environment Python3
Python2 upgrading to Mac environment Python3

Time:10-23

Modify bashrc file
Sudo vi ~/. Bashrc added as shown in figure content
Press the ESC key, then input: wq exit
Then you can enter the Python -v view the current Python version
Disadvantages:
Every time to open a terminal
To repeat
The source ~/. Following
The source ~/. Bashrc
This step

  • Related