portaudio.h: No such file or directory

This should help

$ sudo apt-get install portaudio19-dev python-pyaudio python3-pyaudio

Tested on Ubuntu 18.04, Python 3.7.2, pyaudio 0.2.11

Added 8th of Jan 2021:

On Ubuntu 20.04 you have to use:

$ sudo apt install portaudio19-dev python3-pyaudio

Leave a Comment