tylertreat/BigQuery-Python

Cannot import get_client

LucaRF opened this issue · 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