Install Pyaudio on Mac M1pro

Tags
Published
Published
Authors
  1. install portaudio
    1. brew install portaudio
  1. Find where portaudio was installed
    1. You can choose
      brew --prefix portaudio
      Or
      brew info portaudio
  1. Create .pydistutils.cfg
    1. sudo vi $HOME/.pydistutils.cfg
      and Type
      [build_ext] include_dirs=$brew --prefix portaudio$/include/ library_dirs=$brew --prefix portaudio$/lib/
  1. Install pyaudio in your conda environment
    1. pip install pyaudio