Forums

ImportError: No module named 'google'

Hello, i'm trying to import google.cloud lib and it works fine if a ran the file with it.

But when start web app with this file i see the error: ImportError: No module named 'google'

I've read debugging tips and forum topics, installed google.cloud lib for my venv and for default python version 3.5

when i do pip3.5 freeze, i see: google-cloud==0.34.0

but it still doesn't run in web app

could you pls help me with this? thanks

Have your reloaded the web app since you installed it?

yes

According to https://pypi.org/project/google-cloud/, that package is deprecated and does not install anything. Install the specific google-cloud-* package that you want to use.

now it works, thanks!

Excellent, thanks for confirming!