You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ImportError: No module named gapic.longrunning #1162
Full error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/google/cloud/speech/__init__.py", line 22, in <module>
from google.cloud.speech.client import Client
File "/usr/local/lib/python2.7/dist-packages/google/cloud/speech/client.py", line 25, in <module>
from google.cloud.speech._gax import GAPICSpeechAPI
File "/usr/local/lib/python2.7/dist-packages/google/cloud/speech/_gax.py", line 17, in <module>
from google.cloud.gapic.speech.v1.speech_client import SpeechClient
File "/usr/local/lib/python2.7/dist-packages/google/cloud/gapic/speech/v1/speech_client.py", line 31, in <module>
from google.gapic.longrunning import operations_client
ImportError: No module named gapic.longrunning
Activity
theacodes commentedon Oct 12, 2017
Hi @mol3earth, can you te me the output of
pip freeze?mol3earth commentedon Oct 12, 2017
sure thing
theacodes commentedon Oct 12, 2017
Are you using a virtualenv? I would highly recommend trying to install this app's dependencies in a new virtualenv.
mol3earth commentedon Oct 12, 2017
im not using a virtual environment.
I am setting one up now
why does it not work without one?
theacodes commentedon Oct 12, 2017
Likely a conflicting/older version of a package. In general, you should never install packages globally.
I'm going to close this, but if it still doesn't work after using virtualenv let us know.