Skip to content

Commit e2b8d1e

Browse files
authored
Update README.md
Add installation instruction for MacOS Mojave
1 parent ed3744e commit e2b8d1e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,28 @@ It uses [PocketSphinx](https://github.com/cmusphinx/pocketsphinx) for keyword sp
3535

3636
3. Install hidapi (optional)
3737

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.
58+
59+
3960

4061

4162
### Getting started

0 commit comments

Comments
 (0)