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

NameError: name 'bigquery' is not defined #44

Closed
santhoshdc1590 opened this issue Mar 26, 2018 · 3 comments
Closed

NameError: name 'bigquery' is not defined #44

santhoshdc1590 opened this issue Mar 26, 2018 · 3 comments

Comments

@santhoshdc1590
Copy link

santhoshdc1590 commented Mar 26, 2018

I deployed my function.py on google cloud

I am getting NameError: name 'bigquery' is not defined error in error logs when a hit the google cloud function URL.

I have added below code

from cloudfn.google_account import get_credentials

biquery_client = bigquery.Client(credentials=get_credentials())

I have no idea what's happening

My bigquery API is already enabled according to this post

Can anyone help?

@santhoshdc1590
Copy link
Author

santhoshdc1590 commented Mar 26, 2018

Are we required to install BigQuery Client Libraries?

by looking at this

screen shot 2018-03-26 at 3 05 43 pm

@santhoshdc1590
Copy link
Author

I still am facing this issue!
Any help anyone?

@santhoshdc1590
Copy link
Author

pip install --upgrade google-cloud

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

1 participant