Updated on 2024-07-27 GMT+08:00

Node Python Commands

Check Items

Check whether the Python commands are available on a node.

Check Method

/usr/bin/python --version
echo $?

If the command output is not 0, the check fails.

Solution

Install Python before the upgrade.