Original https://gist.github.com/GGulati/1ebaeaaa7f7408647fef via https://ggulati.wordpress.com/2016/02/24/coding-jarvis-in-python-3-in-2016/ via https://news.ycombinator.com/item?id=11172727
I did some modifications to try to get it to work on Mac OS.
These are the instructions for Mac OS 10.10.x
brew install portaudio flac swig
pip install -r requirements.txt
Note installing pyobjc
pulls in a kitchen sink full of stuff, so you'll have
to go get a coffee.
Monkey patch the file lib/python2.7/site-packages/pyttsx/drivers/nsss.py
by adding the line
from objc import super
at the top of the file.
Apparently pyttsx
isn't maintained anymore, so the program hangs:
RapidWareTech/pyttsx#26