Updated on 2024-01-26 GMT+08:00

Node Python Commands

Check Item

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.