要检查Linux系统中是否已安装Python 3,您可以使用以下命令:
python3 --version
如果系统上已安装Python 3,该命令将显示Python 3的版本号,例如:
Python 3.7.3
如果未安装Python 3,则会显示错误消息,如:
python3: command not found
您还可以使用以下命令来查找Python的安装路径:
whereis python3
或者
which python3
这些命令将显示Python 3的可执行文件路径。