PyAudio Installation Guide

Mac

If you don’t have Homebrew, you should get it! Install Homebrew with the instructions at this link: https://brew.sh/

It involves opening up your Terminal and copying and pasting a single command.

Then, with the Terminal still open type:

brew install portaudio

Hit enter. Then type:

pip install pyaudio

Windows

Open up Command Prompt and type:

python –m pip install pyaudio

Hit enter. That’s it!

Troubleshooting

If you have previous versions of Python on your computer, you may need to type "pip3 install pyaudio" instead of just pip if the first one doesn't work. If you have trouble with pip, head to office hours!

results matching ""

    No results matching ""