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