До ввода этих команд все было хорошо:
sudo apt-get install portaudio19-dev python-all-dev python3-all-dev && sudo pip install pyaudio