title: pyaudio could not import _portaudio
body: <p>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. Any suggestions???</p>
  
  <pre><code>(venv) kidkic@pi-mirror1:~/audio $ jasper/jasper.py 
  Could not import the PyAudio C module '_portaudio'.
  Traceback (most recent call last):
    File "jasper/jasper.py", line 31, in &lt;module&gt;
      from client.mic import Mic
    File "/home/kidkic/audio/jasper/client/mic.py", line 9, in &lt;module&gt;
      import pyaudio
    File "/home/kidkic/audio/venv/local/lib/python2.7/site-packages/pyaudio.py", line 116, in &lt;module&gt;
      import _portaudio as pa
  ImportError: /home/kidkic/audio/venv/local/lib/python2.7/site-packages/_portaudio.so: undefined symbol: Pa_GetStreamReadAvailable
  
  
  # CHECKING THAT THE FILE EXISTS (a binary file)
  (venv) kidkic@pi-mirror1:~/audio $ ls venv/local/lib/python2.7/site-packages/_*
  venv/local/lib/python2.7/site-packages/_portaudio.so
  </code></pre>