I'm getting this error when trying to install PyAudio:
ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects
Does anyone know why this is happening and how to solve?
Best
Developments files are needed. Those files are installed with the portaudio19-dev
package.
sudo apt install portaudio19-dev
When I use docker to dockerize my flask application I recieved this error so I solved this problem with this command. I just paste this in my Dockerfile
apt-get update && apt-get install -y \
libportaudio2 libportaudiocpp0 portaudio19-dev \
python3-dev \
build-essential \
&& rm -rf /var/lib/apt/lists/*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With