How to install gcp in Python?

前端 未结 6 2021
长情又很酷
长情又很酷 2021-01-15 14:55

Lots of the BigQuery examples begin with:

import gcp.bigquery as bq

But I get ImportError: No module named gcp.bigquery whenev

6条回答
  •  执念已碎
    2021-01-15 15:26

    You should try a simple:

    $ pip install --upgrade google-api-python-client
    

    as discussed in the documentation.

    Furthermore, gcp.bigquery is part of Google Cloud DataLab, so you should try from that angle if you are still interested.

提交回复
热议问题