Skip to content

Instantly share code, notes, and snippets.

@brecke
Created January 27, 2015 22:04
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save brecke/9833cd6b1ae4077c4b5c to your computer and use it in GitHub Desktop.
Save brecke/9833cd6b1ae4077c4b5c to your computer and use it in GitHub Desktop.
How to install PyAudio on a Raspberry Pi
# taken from http://raspberrypihell.blogspot.pt/2013/07/pyaudio-and-how-to-install.html
sudo apt-get install git
sudo git clone http://people.csail.mit.edu/hubert/git/pyaudio.git
sudo apt-get install libportaudio0 libportaudio2 libportaudiocpp0 portaudio19-dev
sudo apt-get install python-dev
cd pyaudio
sudo python setup.py install
@olegnoviokov95
Copy link

src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory
#include "portaudio.h"

@neso613
Copy link

neso613 commented Aug 13, 2021

src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory
#include "portaudio.h"

same error I am getting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment