src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: No such file or directory
9 | #include “portaudio.h”
| ^~~~~~~~~~~~~
compilation terminated.
error: command ‘/usr/bin/gcc’ failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyAudio
Failed to build PyAudio
Hi @Khaleelsk
Aside from requirements.txt to install dependencies (similar to using pip
), could you try putting the following into the packages.txt
file (similar to using sudo apt install
):
python3-pyaudio
Hope this helps!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.