From c5c79c9646dad983692a8470463abaaa4b9bcf40 Mon Sep 17 00:00:00 2001 From: puneith Date: Tue, 12 Jul 2016 22:47:09 -0700 Subject: [PATCH 1/4] Update README.md --- speech/api/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index de472387bc8..4ed19794401 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -40,7 +40,15 @@ for more information. ### Install the dependencies -The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. If you run into compilation issues that mention PortAudio, you may have to [install some dependencies][pyaudio-install]. +The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. + +* If you run into compilation issues that mention PortAudio, you may have to [install some dependencies][pyaudio-install]. + +* If you run into compilation issues that mention PortAudio for Ubuntu + + ``` + $ sudo apt-get install portaudio19-dev + ``` * If you're running the `speech_rest.py` sample: From e75aa8b899f4d7b2d3c3690000aea1fb9d0cf643 Mon Sep 17 00:00:00 2001 From: puneith Date: Tue, 12 Jul 2016 22:52:20 -0700 Subject: [PATCH 2/4] Update README.md --- speech/api/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/speech/api/README.md b/speech/api/README.md index 4ed19794401..882533608b1 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -38,6 +38,12 @@ See the [Cloud Platform Auth Guide](https://cloud.google.com/docs/authentication#developer_workflow) for more information. +### Pre-requisites + +Below is the list of pre-requisites you need to perform + +* Install [gcloud][gcloud] +* Install [pip][pip] ### Install the dependencies The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. @@ -65,6 +71,8 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute [pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/ [portaudio]: http://www.portaudio.com/ [pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads +[gcloud]: https://cloud.google.com/sdk/gcloud/ +[pip]: https://pip.pypa.io/en/stable/installing/ ## Run the example From ea04a79ac1c59e0f9ed122ee0dd208aad8d0f268 Mon Sep 17 00:00:00 2001 From: puneith Date: Tue, 12 Jul 2016 23:02:24 -0700 Subject: [PATCH 3/4] Update README.md --- speech/api/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/speech/api/README.md b/speech/api/README.md index 882533608b1..c3da9d71d04 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -44,6 +44,7 @@ Below is the list of pre-requisites you need to perform * Install [gcloud][gcloud] * Install [pip][pip] + ### Install the dependencies The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. From 3623ad0bc5f12c28aa4d6a52c6bb2905af811c7f Mon Sep 17 00:00:00 2001 From: puneith Date: Wed, 13 Jul 2016 09:54:04 -0700 Subject: [PATCH 4/4] Update README.md --- speech/api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index c3da9d71d04..adb1f19760b 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -60,13 +60,13 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute * If you're running the `speech_rest.py` sample: ```sh - $ sudo pip install -r requirements-speech_rest.txt + $ sudo pip install -r requirements-speech_rest.txt --ignore-installed six ``` * If you're running the `speech_streaming.py` sample: ```sh - $ sudo pip install -r requirements-speech_grpc.txt + $ sudo pip install -r requirements-speech_grpc.txt --ignore-installed six ``` [pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/