does anyone how to solve this issue of portaudio not found , the error is something like import sounddevice as sd
File “/app/venv/lib/python3.9/site-packages/sounddevice.py”, line 71, in
raise OSError(‘PortAudio library not found’)
OSError: PortAudio library not found
i am solving this since a very long time and not able to found the solution
Hi @shivam_dhumal, you might need to take a look at this stackoverflow therad python - PortAudio library not found by sounddevice - Stack Overflow
You might need to install proper linux package to make it work
I could fix this by installing the portaudio library.
sudo apt-get install libportaudio2
You may also try following if this doesn’t help.
sudo apt-get install libasound-dev