I have a wxPython GUI, and would like to use multiprocessing to create a separate process which uses PyAudio. That is, I want to use PyAudio, wxPython, and the multiprocessing module, but although I can use any two of these, I can't use all three together. Specifically, if from one file I import wx, and create a `multiprocessing.Process` which opens PyAudio, PyAudio won't open. Here's an example:

**file: A.py**

```
import wx
import time
use_multiprocessing = True
if use_multiprocessing:
    from multiprocessing import Process as X
else:
    from threading import Thread as X
import B

if __name__=="__main__":
    p = X(target=B.worker)
    p.start()
    time.sleep(5.)
    p.join()

```

**file: B.py**  

```
import pyaudio

def worker():
    print "11"
    feed = pyaudio.PyAudio()
    print "22"
    feed.terminate()

```

In all my tests I see `11` print, but the problem is that I don't see `22` for the program as shown.

* If I only comment out `import wx` I see `22` and pyaudio loads
* If I only set `use_multiprocessing=False` so I use threading instead, I see `22` and pyaudio loads.
* If I do something else in `worker`, it will run (only pyaudio doesn't run)

I've tried this with Python 2.6 and 2.7; PyAudio 0.2.4, 0.2.7, and 0.2.8; and wx 3.0.0.0 and 2.8.12.1; and I'm using OSX 10.9.4