1、查看Python的版本信息:python --version
2、查看Python安装路径:which python
3、查看Python的全路径:echo $python
4、查看python3的路径:which python3
5、查看Python3的版本信息:python3 --version
1、查看Python的版本信息:python --version
2、查看Python安装路径:which python
3、查看Python的全路径:echo $python
4、查看python3的路径:which python3
5、查看Python3的版本信息:python3 --version