This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Wrong requirements in samples/*/requirements.txt #79
Labels
api: speech
Issues related to the googleapis/python-speech API.
samples
Issues that are directly related to samples.
triage me
I really want to be triaged.
The
requirements.txt
in samples still specify versiongoogle-cloud-speech==1.3.2
. But the code itself (at least inpython-speech/samples/microphone
) needs version 2.0.0.As a result, when one blindly runs
pip install -r samples/microphone/requirements.txt
and then proceeds to run e.g.samples/microphone/transcribe_streaming_mic.py
, the result is:... which provides a suboptimal "getting started" experience.
Steps to reproduce
virtualenv testenv
. testenv/bin/activate
pip install -r samples/microphone/requirements.txt
python samples/microphone/transcribe_streaming_mic.py
The fix is to install
google-cloud-speech==2.0.0
instead of the old 1.3.2.I think this issue is fixed in #78 but as it's not yet merged and others might run into this (and spend time figuring out what's wrong), I'm creating this issue.
The text was updated successfully, but these errors were encountered: