Skip to content

GoogleCloudPlatform/python-docs-samples/speech/cloud-client/transcribe_streaming_mic.py #1505

Closed

Description

@Gaddam-Ha

In which file did you encounter the issue?

GoogleCloudPlatform/python-docs-samples/speech/cloud-client/transcribe_streaming_mic.py

Did you change the file? If so, how?

No.

Describe the issue

It is giving The import error if I try to run above python file.

ImportError Traceback (most recent call last)
in ()
14 import sys
15
---> 16 from google.cloud import speech
17 from google.cloud.speech import enums
18 from google.cloud.speech import types

ImportError: cannot import name 'speech'

Activity

  1. nnegrey commented on Dec 7, 2018

    @nnegrey
    Contributor

    Hi, can you run pip install --force-reinstall google-cloud-speech

    Hope this helps, if that doesn't solve the issue, please feel free to reopen this issue. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions