Python3 library installation - kwea123/raspberry_pi3 GitHub Wiki
Jupyter notebook
pip install jupyter
python3 -m pip install ipykernel
python3 -m ipykernel install --user
When running, run ~/.local/bin/jupyter notebook, or add to $PATH
Matplotlib
sudo apt-get install python3-matplotlib
# pip install hangs when running "Running setup.py install for numpy..."
Pyaudio
sudo apt-get install python3-pyaudio
When reading the stream, set exception_on_overflow = False to avoid IOError: [Errno Input overflowed] -9981.
SpeechRecognition
pip3 install --no-cache-dir SpeechRecognition
--no-cache-dir is required to avoid MemoryError