Reputation: 133
I'm trying to deploy a Cloud Function and it is returning me all the time the following error after importing bigquery from google.cloud
ImportError: cannot import name 'bigquery' from 'google.cloud' (unknown location)
I've tried to install all the newest versions and remove and reinstall and persists
Any idea?
Upvotes: 9
Views: 10617
Reputation: 10152
Try adding something like google-cloud-bigquery==2.3.1
into requirements.txt
of your Google Cloud Function
Upvotes: 11