Simple but frustrating error: Google.cloud module not found

Have installed Google Cloud via pip and CLI installer, yet programs cannot seem to see import statements from Google.cloud, returning the following error:

line 9, in
from google.cloud import vision
ModuleNotFoundError: No module named ‘google.cloud’

Please advise and thank you for your time.

2 Likes

Have you tried installing google cloud vision? You can also check what python version you are using, this package is only supported in python versions 3.7 and up.

2 Likes

What if we want to install the google could vision package in Python 2.7?

I understand is deprecated version but still want to install them.

You should install the following packages if you work with Google Cloud or a related service.

<strong>python3 -m pip install google-cloud
python3 -m pip install google-cloud-vision</strong>