Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError No module named pyaudio

I am writing a program in Python on RaspberryPi, But I am getting an error

ImportError No module named pyaudio

After that I tried

git clone http://people.csail.mit.edu/hubert/git/pyaudio.git

but again get another

fatal: destination path 'pyaudio' already exists and is not an empty directory.

Can you please guide me that how do I install PyAudio in RaspberryPi

like image 632
Fahadkalis Avatar asked Jan 25 '15 20:01

Fahadkalis


1 Answers

If

sudo apt-get install python-pyaudio

did’t work try:

sudo apt-get install python3-pyaudio
like image 171
Duloren Avatar answered Sep 28 '22 03:09

Duloren