Cannot run program "python" or Can't find a default python

Cannot run program "python" or Can't find a default python

Use case

While trying to run a python script, this error can be found. It usually occurs when the python is not installed/set up properly.

Solution

Try specifying the complete path of the python.exe instead of py and then in the argument specify the $COMPLETE_V3_JSON_FILE. The command should look like below

<python directory>/python.exe MultipleRequestsV3.py ChildRequestsV3.json $COMPLETE_V3_JSON_FILE

The complete path of python can be found by running the command where python in cmd

Cant find a default python

                  New to ADSelfService Plus?