换成 python3 --version 或 python3 -V
python3 --version
python3 -V
$ python3 --version Python 3.7.3 $ python3 -V Python 3.7.3
我想没有命令只是 version 在蟒蛇身上。
version
(它可能看起来像文件引用。感谢@cricket(007)
$ python3 version python3: can't open file 'version': [Errno 2] No such file or directory