The way you distribute Google cloud tools has changed a bit, you can download the current version of the software via the Cloud SDK: * https://developers.google.com/cloud/sdk/
The SDK will install a sealed environment containing bigquery, as well as all its dependencies, such as oauth2client and google.apputils. It no longer uses ez-install.
You can add the SDK to your PATH to select the current bq.py program. export PATH = $ SDKROOT / platform / bigquery: $ PATH
You can add the SDK to your PYTHONPATH if you are trying to import something directly, as in the example above. export PYTHONPATH = $ SDKROOT / platform / bigquery: $ PYTHONPATH
source share