こんなエラーがでてインストールできない
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
homebrewで"portaudio.h"インストールしてから行うと成功した人もいるみたいだが、私はできなかった。
brew install portaudio
同じ様な問題を抱えている人を発見!Stackoverflow
以下のコマンドで無事インストールできました!ライブラリ指定がおかしかったみたいです。
$pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio