You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+22-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,28 @@ It uses [PocketSphinx](https://github.com/cmusphinx/pocketsphinx) for keyword sp
35
35
36
36
3. Install hidapi (optional)
37
37
38
-
This step is required on OSX.
38
+
39
+
MacOSX install ReSpeaker Python Library
40
+
41
+
0.(brew install python2)
42
+
43
+
1.pip2 install pocketsphinx webrtcvad
44
+
45
+
2.(Since pyAudio has portAudio as a dependency, you first have to install portaudio: **brew install portaudio**) pip install pyaudio respeaker --upgrade
46
+
3.Install hidapi (optional)
47
+
48
+
49
+
### stdio.h file not found error on macOS Mojave
50
+
For anyone discovering this later on who may not be familiar with the command line, here's how to install the macOS_SDK_headers_for_macOS_10.14.pkg package as explained in @yicongli's response above:
51
+
52
+
In Terminal.app or any shell app like iTerm:
53
+
54
+
cd /Library/Developer/CommandLineTools/Packages/
55
+
open macOS_SDK_headers_for_macOS_10.14.pkg
56
+
57
+
Make sure you go through the whole thing and try to install the gem that failed to install again or run bundle install again if this was something you encountered while trying to install from a Gemfile.
0 commit comments