File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed
scripts/readme-gen/templates Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,25 @@ Install `PortAudio`_. This is required by the `PyAudio`_ library to stream
5
5
audio from your computer's microphone. PyAudio depends on PortAudio for cross-platform compatibility, and is installed differently depending on the
6
6
platform.
7
7
8
- For Mac OS X, you can use `Homebrew `_::
8
+ * For Mac OS X, you can use `Homebrew `_::
9
9
10
- brew install portaudio
10
+ brew install portaudio
11
11
12
- For Debian / Ubuntu Linux::
12
+ **Note**: if you encounter an error when running `pip install` that indicates
13
+ it can't find `portaudio.h`, try running `pip install` with the following
14
+ flags::
13
15
14
- apt-get install portaudio19-dev python-all-dev
16
+ pip install --global-option='build_ext' \
17
+ --global-option='-I/usr/local/include' \
18
+ --global-option='-L/usr/local/lib' \
19
+ pyaudio
15
20
16
- Windows may work without having to install PortAudio explicitly (it will get
17
- installed with PyAudio).
21
+ * For Debian / Ubuntu Linux::
22
+
23
+ apt-get install portaudio19-dev python-all-dev
24
+
25
+ * Windows may work without having to install PortAudio explicitly (it will get
26
+ installed with PyAudio).
18
27
19
28
For more details, see the `PyAudio installation `_ page.
20
29
Original file line number Diff line number Diff line change @@ -53,16 +53,25 @@ Install `PortAudio`_. This is required by the `PyAudio`_ library to stream
53
53
audio from your computer's microphone. PyAudio depends on PortAudio for cross-platform compatibility, and is installed differently depending on the
54
54
platform.
55
55
56
- For Mac OS X, you can use `Homebrew `_::
56
+ * For Mac OS X, you can use `Homebrew `_::
57
57
58
- brew install portaudio
58
+ brew install portaudio
59
59
60
- For Debian / Ubuntu Linux::
60
+ **Note**: if you encounter an error when running `pip install` that indicates
61
+ it can't find `portaudio.h`, try running `pip install` with the following
62
+ flags::
61
63
62
- apt-get install portaudio19-dev python-all-dev
64
+ pip install --global-option='build_ext' \
65
+ --global-option='-I/usr/local/include' \
66
+ --global-option='-L/usr/local/lib' \
67
+ pyaudio
63
68
64
- Windows may work without having to install PortAudio explicitly (it will get
65
- installed with PyAudio).
69
+ * For Debian / Ubuntu Linux::
70
+
71
+ apt-get install portaudio19-dev python-all-dev
72
+
73
+ * Windows may work without having to install PortAudio explicitly (it will get
74
+ installed with PyAudio).
66
75
67
76
For more details, see the `PyAudio installation `_ page.
68
77
You can’t perform that action at this time.
0 commit comments