在 CentOS 系统中,Python 通常安装在 /usr/bin/python 或 /usr/local/bin/python 路径下。要找到 Python 的安装路径,你可以在终端中执行以下命令:
which python
或者
type python
这将显示 Python 的安装路径。请注意,根据你的系统和 Python 版本,路径可能会有所不同。例如,如果你安装了 Python 3,路径可能是 /usr/bin/python3 或 /usr/local/bin/python3。