apt-get update sudo apt-get install portaudio19-dev python-all-dev python3-all-dev pip3 install pyaudio