Python audio

Install pyaudio on OSX

Installing python things in general and pyaudio in particular on OSX seems to be a matter of choosing one install mechanism and sticking to it. Here is a way to install pyaudio based on Homebrew. Of course this assumes that you already have Homebrew installed. See instructions on the website.

Depending on what is already installed on your system, some of these steps may be skipped.

$ brew update
$ brew doctor
$ brew upgrade python
$ brew upgrade portaudio
$ brew uninstall python
$ brew install python
$ brew linkapps python

$ brew link --overwrite port audio

$ pip install pyaudio