Skip to content

Cannot import get_client #140

Open
Open
@LucaRF

Description

@LucaRF

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions