davabase / whisper_real_time

Real time transcription with OpenAI Whisper.
2.41k stars 404 forks source link

Pyaudio install fails when installing requirements.txt #51

Open nickgon opened 9 months ago

nickgon commented 9 months ago

Users on Mac may receive an error where requirements.txt fails on the pyaudio install. To fix this, you need to first install portaudio through homebrew first. On their documentation, you need to run the commands in this order:

brew install portaudio
pip install pyaudio

Hat tip stackoverflow

lorenzejay commented 8 months ago

Doing brew install portaudio then pip install -r requirements.txt worked for me after following the stackoverflow

Indoo-Park commented 7 months ago

Developments files are needed. Those files are installed with the portaudio19-dev package.

sudo apt install portaudio19-dev

Shravan-U-Hegde commented 4 months ago

following @lorenzejay , i had to also do brew link portaudio