Google cloud sdk not working from action script


#1

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?


#2

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

export GOOGLE_APPLICATION_CREDENTIALS="path to your googlecredentials.json"