ubuntu 16.04怎么查看python版本

2025-04-02 01:36:19
推荐回答(4个)
回答1:

执行 python --version即可查看到python的版

回答2:

ctrl+alt+t打开终端, 输入python -V(注意是大写V不是小写)

回答3:

➜  ~ python -V
Python 2.7.13

回答4:

python -v