Ubuntu 18.04,来自我的终端
~$ python3 --version
Python 3.6.8
~$ python3.6 --version
Python 3.6.8
~$ which python3
/usr/bin/python3
~$ which python3.6
/usr/bin/python3.6
~$ ls -la /usr/bin/python*
lrwxrwxrwx 1 root root 9 apr 16 2018 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 apr 16 2018 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3637680 nov 28 2018 /usr/bin/python2.7
lrwxrwxrwx 1 root root 33 nov 28 2018 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 root root 16 apr 16 2018 /usr/bin/python2-config -> python2.7-config
-rwxr-xr-x 1 root …
Run Code Online (Sandbox Code Playgroud)