pip install Pyaudio
I got angry
.
.
.
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^
1 error generated.
error: command 'gcc' failed with exit status 1
.
.
.
Apparently portaudio.h is needed.
brew install portaudio
Now install portaudio and try again
.
.
.
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^
1 error generated.
error: command 'gcc' failed with exit status 1
.
.
.
That
According to various investigations, pyaudio only supports up to python3.3. Ours is python3.5
Hmm.
Give up.
There seems to be another way to just play the wave.
Playing by calling an external command (aplay) with subprocess.
Recommended Posts