BigQuery-Python icon indicating copy to clipboard operation
BigQuery-Python copied to clipboard

Cannot import get_client

Open LucaRF opened this issue 8 years ago • 0 comments

I tried two different approaches for this, on the first attempt , I tried to import like this:

from bigquery import get_client

Unfortunately, I got this error: File "F:/Users/L/Documents/ML-GIT/ml/L/test.py", line 1, in from bigquery import get_client

ImportError: cannot import name 'get_client'

On the second attempt I tried to import like this:

from bigquery.client import get_client

And I got this error: File "f:\Users\L\Anaconda3\lib\site-packages\bigquery\client.py", line 124 except HttpError, e: ^ SyntaxError: invalid syntax

What can I do to solve this error?

Thank you

LucaRF avatar Sep 19 '17 15:09 LucaRF