Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication error while using GoogleVision on Raspberry pi 3 #1

Open
logiclessindian opened this issue Dec 30, 2017 · 1 comment

Comments

@logiclessindian
Copy link

logiclessindian commented Dec 30, 2017

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.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 $'

@heinaungthutrends
Copy link

HI I am also having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants