Trying to run python app that uses pyaudio. Using virtualenv and installations are working. However when running it can\'t find portaudio. But the _portaudio.so file exists.
The issue isn't that it can't find the library, but that the library is missing a function that is needed. (source code). I ran into the same problem, and believe the issue stems from building with the wrong version of portaudio-dev.
What you need to do:
sudo apt-get purge --remove python-pyaudio if you have it (This is version 0.2.8)./configuremakemake installportaudio19-devpython-all-dev (python3-all-dev for Python 3)sudo pip install pyaudioAfter that, I was able to use pyaudio.