Skip to content

Install vdsql with BigQuery support

Louis Maddox edited this page Jul 22, 2023 · 5 revisions
pip install numpy ibis-framework[bigquery] vdsql[bigquery]
  • Go here and copy the link to the 64 bit CLI tarball

  • cd ~/opt, wget the tarball into the directory

tar -xf google-cloud-cli-*.tar.gz
rm google-cloud-cli-*.tar.gz
cd google-cloud-sdk
./install.sh
  • Accept all defaults (press enter)
gcloud init
# gcloud auth login

This should bring up the auth flow for Google Cloud SDK on your Google Cloud account (if you need to re-do it, run the commented out line)

You should then be able to run

vdsql bigquery:///bigquery-public-data

This should bring up the auth flow for Ibis Framework on your Google Cloud account

  • You may now see a DefaultCredentialsError:

google.auth.exceptions.DefaultCredentialsError: Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.

To fix this use:

gcloud auth application-default login

This should bring up the auth flow for Google Auth Library on your Google Cloud account

Clone this wiki locally