This is not a duplicate. My scenario is a bit different and I could not find a solution from similar posts here. I installed Python 3.5. I ran the pip install google comman
I faced the same issue, I was trying to import translate from google.cloud but kept getting same error.
This is what I did
pip install protobuf
pip install google-cloud-translate
and to install storage service from google google-cloud-storage
should be installed separately
Ref - https://cloud.google.com/python/
I had a similar import problem. I noticed that there was no __init__.py
file in the root of the google
package. So, I created an empty __init__.py
and now the import works.
Note - You need not have to uninstall/reinstall anything.
I solved the problem in this way:
and no more error.