I get this error and can't install
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
It seems that some people succeeded after installing "portaudio.h" with homebrew, but I couldn't.
brew install portaudio
Discover someone with a similar problem
I was able to install it successfully with the following command! It seems that the library specification was strange.
$pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio
Recommended Posts