Troubleshooting

If you run into any problems, these suggestions may help.

Errors and solutions

ModuleNotFoundError: No module named ‘google’

Traceback (most recent call last):
  File "speech_quickstart_beta.py", line 28, in <module>
    from google.cloud import speech_v1p1beta1
ModuleNotFoundError: No module named 'google'

Solution 1

The Google Cloud SDK may not be installed correctly.

With the virtual environment activated run:

pip install google-cloud   

Solution 2

The Google Cloud SDK may not be installed

  1. Download the latest SDK, as
...