8

i installed google.cloud for the system using pip install google-cloud.

but next error i have ImportError: cannot import name 'speech' from 'google.cloud' (unknown location)

how to correct this error?

Nimantha
  • 183
  • 1
  • 3
  • 10
  • 3
    ‘pip install google-cloud-speech‘ – dejanualex Nov 08 '19 at 09:48
  • You can also make sure you installed it for the correct python version. I initially did `python -m pip install google-cloud-speech` but needed to do `python3 -m pip install google-cloud-speech` – raw-bin hood Oct 15 '20 at 02:54

1 Answers1

12
pip install google-cloud-speech

This solved the error for me

JIGAR JOSHI
  • 216
  • 2
  • 11