Skip to content

Instantly share code, notes, and snippets.

@ronsuez
Forked from jiaaro/installing_pyaudio.md
Last active August 29, 2015 14:23
Show Gist options
  • Save ronsuez/1da6d1e58708e7b1e8a0 to your computer and use it in GitHub Desktop.
Save ronsuez/1da6d1e58708e7b1e8a0 to your computer and use it in GitHub Desktop.

Install portaudio using homebrew (or method of your choice)

brew install portaudio

create $HOME/.pydistutils.cfg using the include and lib directories of your portaudio install:

[build_ext]
include_dirs=/Users/jrobert1271/homebrew/Cellar/portaudio/19.20140130/include/
library_dirs=/Users/jrobert1271/homebrew/Cellar/portaudio/19.20140130/lib/

Then in your virtualenv:

pip install --allow-external pyaudio --allow-unverified pyaudio pyaudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment