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

Readme fix #423

Merged
merged 11 commits into from
Jul 18, 2016
7 changes: 5 additions & 2 deletions speech/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@ Before running these samples perform the steps:
cd python-docs-samples/speech/api
```

* Create virtualenv
* Create a [virtualenv][virtualenv]
```
virtualenv env
source env/bin/activate
```

### 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 installed separately, depending on your platform:

* Install the [pyAudio dependencies][pyaudio-install].

* If you're running the `speech_rest.py` sample:

Expand All @@ -76,6 +78,7 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute
[pip]: https://pip.pypa.io/en/stable/installing/
[virtualenv]: https://virtualenv.pypa.io/en/stable/installation/
[home-page]: https://github.com/GoogleCloudPlatform/python-docs-samples
[virtualenv]: https://virtualenv.pypa.io/en/stable/installation/

## Run the example

Expand Down