Updated on 2024-09-30 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

Reset the node or manually install Python before attempting the upgrade again.