davabase / whisper_real_time

Real time transcription with OpenAI Whisper.
2.08k stars 362 forks source link

Pyaudio install fails when installing requirements.txt #51

Open nickgon opened 4 months ago

nickgon commented 4 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 3 months ago

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

Indoo-Park commented 2 months ago

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

sudo apt install portaudio19-dev

Shravan-U-Hegde commented 3 days ago

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