Installing PyAudio | Sololearn: Learn to code for FREE!


Installing PyAudio

I Use The Python Version 3.8.2 And When I Try To Install PyAudio It Gives ME This: ERROR: Command errored out with exit status 1: command How Can I Fix It?

4/27/2020 7:50:32 PM

Ahmad Tarek

7 Answers

New Answer


The error is basically caused by the missing portaudio.h file in the system. PortAudio is a free, cross-platform, open-source, audio I/O library. Trying using this: sudo apt-get install portaudio19-dev python-pyaudio


Abhay Ahmad Tarek using Linux?


Try using this in python console: import pip pip.main(['install', 'PyAudio'])


So I also tried but nothing works with that error generated every time ,also it says no such file or directory portaudio.h




Can't use its Android phone

0 ,This whole thread gives solutions for it but doesn't seems to be working for me