Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyaudio install fails when installing requirements.txt #51

Open
nickgon opened this issue Feb 27, 2024 · 3 comments
Open

Pyaudio install fails when installing requirements.txt #51

nickgon opened this issue Feb 27, 2024 · 3 comments

Comments

@nickgon
Copy link

nickgon commented Feb 27, 2024

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

@nickgon nickgon changed the title Pyadio install fails when installing requirements.txt Pyaudio install fails when installing requirements.txt Feb 27, 2024
@lorenzejay
Copy link

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

@Indoo-Park
Copy link

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

sudo apt install portaudio19-dev

@Shravan-U-Hegde
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants