Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 <module>
from google.cloud import vision
ModuleNotFoundError: No module named 'google.cloud'

Please advise and thank you for your time.

Solved Solved
1 3 26.2K
1 ACCEPTED SOLUTION

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.

View solution in original post

3 REPLIES 3

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.

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.

python3 -m pip install google-cloud
python3 -m pip install google-cloud-vision