You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting following error while trying to invoke the python scripts. Can someone help me, please.
note : I have installed all the necessary packages and also the credential json file is also kept on home dir and updated the .bashrc file.
note 2 : I followed the instructions as mentioned in [ https://www.dexterindustries.com/howto/use-google-cloud-vision-on-the-raspberry-pi/ ]
pi@rajberry:~/Andy/GoogleVisionTutorials $ sudo /usr/bin/python3.4 camera-vision-label.py
Traceback (most recent call last):
File "camera-vision-label.py", line 50, in
main()
File "camera-vision-label.py", line 29, in main
credentials = GoogleCredentials.get_application_default()
File "/usr/local/lib/python3.4/dist-packages/oauth2client/client.py", line 1271, in get_application_default
return GoogleCredentials._get_implicit_credentials()
File "/usr/local/lib/python3.4/dist-packages/oauth2client/client.py", line 1261, in _get_implicit_credentials
raise ApplicationDefaultCredentialsError(ADC_HELP_MSG)
oauth2client.client.ApplicationDefaultCredentialsError: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
pi@rajberry:~/Andy/GoogleVisionTutorials $'
The text was updated successfully, but these errors were encountered:
Hello,
I'm getting following error while trying to invoke the python scripts. Can someone help me, please.
note : I have installed all the necessary packages and also the credential json file is also kept on home dir and updated the .bashrc file.
note 2 : I followed the instructions as mentioned in [ https://www.dexterindustries.com/howto/use-google-cloud-vision-on-the-raspberry-pi/ ]
pi@rajberry:~/Andy/GoogleVisionTutorials
$ sudo /usr/bin/python3.4 camera-vision-label.pyTraceback (most recent call last):
File "camera-vision-label.py", line 50, in
main()
File "camera-vision-label.py", line 29, in main
credentials = GoogleCredentials.get_application_default()
File "/usr/local/lib/python3.4/dist-packages/oauth2client/client.py", line 1271, in get_application_default
return GoogleCredentials._get_implicit_credentials()
File "/usr/local/lib/python3.4/dist-packages/oauth2client/client.py", line 1261, in _get_implicit_credentials
raise ApplicationDefaultCredentialsError(ADC_HELP_MSG)
oauth2client.client.ApplicationDefaultCredentialsError: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
pi@rajberry:~/Andy/GoogleVisionTutorials $'
The text was updated successfully, but these errors were encountered: