Installing PyAudio | Sololearn: Learn to code for FREE!

-1

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

+6

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

+4

Abhay Ahmad Tarek using Linux?

+2

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

+1

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

+1

Yup

0

Can't use its Android phone

0

https://github.com/termux/termux-packages/issues/2962 ,This whole thread gives solutions for it but doesn't seems to be working for me