Google cloud sdk not working from action script


Google cloud sdk command gives “gcloud not found” error from python action script whereas in raspberry pi command prompt it works usual. Looks like python virtual environment is unable to access gcloud, any help please?


gcloud not found means you haven’t exported the path variable

export GOOGLE_APPLICATION_CREDENTIALS="path to your googlecredentials.json"