Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oauth2client should be listed as a requirement for Google Cloud Speech #555

Open
Qub3k opened this issue Mar 12, 2021 · 0 comments
Open

Comments

@Qub3k
Copy link

Qub3k commented Mar 12, 2021

Steps to reproduce

  1. I followed the guide describing how to install dependencies necessary to make recognizer_instance.recognize_google_cloud work.
  2. After issuing pip install google-cloud-speech I was expecting that recognizer_instance.recognize_google_cloud would work.
  3. However, the only message I got was as follows: Could not request results from Google Cloud Speech service; missing google-api-python-client module: ensure that google-api-python-client is set up correctly..
  4. (I use the code from the audio_transcribe.py example.)

Expected behaviour

I was expecting that satisfying the google-cloud-speech dependency would make recognizer_instance.recognize_google_cloud work.

Actual behaviour

The code returned the following error message: Could not request results from Google Cloud Speech service; missing google-api-python-client module: ensure that google-api-python-client is set up correctly..

I was expecting the code would point me in the direction of the oauth2client package (which was the actual root cause of the problem).

Is it possible to add the oauth2client package to the README.rst file in the section regarding dependencies for the recognizer_instance.recognize_google_cloud?

System information

My system is macOS Catalina 10.15.7 (19H114).

My Python version is 3.7.

My Pip version is 20.2.2.

My SpeechRecognition library version is 3.8.1.

@Qub3k Qub3k changed the title oauth2client should be listed as a requirement oauth2client should be listed as a requirement for Google Cloud Speech Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant