pyaudio won't work on Mac, I get 'Python.h' file not found
I am trying to use a script involving PyAudio that used to work on a previous Mac. On my new computer (High Sierra) when I try to install PyAudio through the console, it generates an error message: 'Python.h' file not found
A bit of googling suggests that this is because it needs PortAudio, but I can't seem to install that through the console (perhaps because it's a C library rather than Python???).
Any suggestions on how to get PyAudio working on OpenSesame would be very welcome.