Python pyaudio fatal error portaudio.h file not found
Python pyaudio fatal error portaudio h file not found
sudo python3 -m pip install pyaudio
build/temp.macosx-10.6-intel-3.6/src/_portaudiomodule.o
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
Fix:
$ brew install portaudio
$ brew link portaudio
$ sudo python3 -m pip install pyaudio
Nguồn:https://ftlinuxcourse.com/
Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux
Comments
hey on windows it says "Please build and install the PortAudio Python bindings first."—this…please tell how to fix this thank you
I'm still getting the same error on my raspberry Pi event after following all your steps . Can u help me?
on windows 10 in pycharm terminal
'brew' is not recognized as an internal or external command,
operable program or batch file.
On raspberry pi error "brew command not found"
gracias senhor
super, you saved my day
you saved me a lot of time! thanks for your video 😉
you are so good boss love u
http://people.csail.mit.edu/hubert/pyaudio/packages/
you can use this link to directly download pyaudio.exe file
Windows 10 same error, please help
How do I fix it in Windows 10?