Skip to content

Installation

vavrek edited this page Apr 12, 2023 · 12 revisions

macOS

Prerequisite: Homebrew

Dependencies:

Install Python3: brew install python

Install Python3 Dependencies: pip3 install ${PYTHON_PKGS}

Modules:

Audio Support (gstreamer): brew install gst-python --with-python --without-python@2

Older versions of Homebrew require --with-python3 --without-python, check your version's formula options.

Support for autoaudiosrc: brew install gst-plugins-good

Speech Recognition (Sphinx):

Build tools: brew install autoconf libtool automake swig

sphinxbase

git clone https://github.com/cmusphinx/sphinxbase.git

./autogen.sh && make install

pocketsphinx

git clone https://github.com/cmusphinx/pocketsphinx.git

./autogen.sh && make install

Linux

The package names may differ, the idea is the same..

  • python3-dev
  • libasound2-dev

Ubuntu Linux:

sudo apt-get install -y python python-dev python-pip build-essential swig git libpulse-dev espeak

pip3 install keyboard sounddevice playsound requests pyttsx3 pocketsphinx psutil feedparser python-forecastio numpy

Arch Linux:

sudo pacman -S swig espeak

pip3 install keyboard sounddevice playsound requests pyttsx3 pocketsphinx psutil feedparser python-forecastio numpy

Updated README >

Clone this wiki locally