speech to text - Google SpeechClient service's authorisation does not recognise the environment variable set. -
i have been trying use speechclient in 1 of applications running on remote debian machine.i have set environment variable google_application_credentials value of path json key file(echo $google_application_credentials prints value of path).i have service account created active billing account too. when run application, still complains environment variable looking not set.
on local(mac) setup, got around problem downloading , installing gcloud sdk.following that, ran
gcloud auth activate-service-account --key-file [key_file]
is installing sdk necessary always.should doing again on debian instance remote machine.
you can try set environment variable in /etc/environment file. then, have logout/reboot instance affect variable. also, need confirm echo command.
Comments
Post a Comment