python_noob
python_noob

Reputation: 285

ImportError: No module named cloud even though google-cloud for python is installed

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?

Upvotes: 2

Views: 3848

Answers (1)

Steeve
Steeve

Reputation: 392

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.

Upvotes: 1

Related Questions