Skip to content

Commit ff3fc80

Browse files
authored
Update README.md
1 parent 0e1e250 commit ff3fc80

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

speech/api/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ See the
3838
[Cloud Platform Auth Guide](https://cloud.google.com/docs/authentication#developer_workflow)
3939
for more information.
4040

41+
### Install pip
42+
43+
Install `pip` if not already installed from [here][pip-here]
44+
45+
### Install virtualenv
46+
47+
Install `virtualenv` if not already installed from [here][virtualenv]
48+
49+
### Create isolated Python environment
50+
51+
```
52+
virtualenv ~/speechsamples
53+
source ~/speechsamples/bin/activate
54+
```
55+
4156
### Install the dependencies
4257

4358
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].
@@ -57,6 +72,8 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute
5772
[pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/
5873
[portaudio]: http://www.portaudio.com/
5974
[pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads
75+
[pip-here]: https://pip.pypa.io/en/stable/installing/
76+
[virtualenv]: https://virtualenv.pypa.io/en/stable/installation/
6077
6178
## Run the example
6279

0 commit comments

Comments
 (0)