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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -