How to Call Python in an Execute Shell Script Action

Check your actual $PATH differences between the Terminal and KM.