How to install gcp in Python?

前端 未结 6 2018
长情又很酷
长情又很酷 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条回答
  •  -上瘾入骨i
    2021-01-15 15:17

    For anyone with this problem, it looks like the datalabs library was updated and now you should import things differently.

    import datalab.bigquery as bq
    

提交回复
热议问题