1

I installed google-cloud for python by using the following command:

sudo easy_install google-cloud

The client got installed sucessfully, but now when I run the script it gives me the following error:

Traceback (most recent call last):
    File "coreAPI.py", line 8, in <module>
        from google.cloud import bigquery
ImportError: No module named cloud

Why does this error occur? Isn't easy install meant to install the cloud module?

python_noob
  • 237
  • 1
  • 10
  • 1
    Try installing using `PIP` instead of `easy_install`. `pip install --upgrade google-cloud-bigquery`: https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install – Graham Polley Aug 28 '18 at 11:10

1 Answers1

1

I was able to find the following link explaining that you should run the following command pip install --upgrade google-cloud-bigquery to install the Python BigQuery client library. There's also an example at the bottom of the page on how to call the library.

Steeve
  • 198
  • 1
  • 11