I have been trying to install PyAudio for a project. I am working on a Mac with the M1 Chip, on OS 11.0.1.
Every time I run pip3 install pyaudio
I get the same error:
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
I have installed portaudio through brew install portaudio
and have x-code command line tools but it still doesn't work. I have also tried putting sudo in front of it but no luck.
Any help is appreciated!
Here's an image of the error: Error