- 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?

27th Apr 2020, 7:50 PM
Ahmad Tarek
Ahmad Tarek - avatar
7 Réponses
+ 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
27th Apr 2020, 8:57 PM
Valmob101
Valmob101 - avatar
+ 4
Abhay Ahmad Tarek using Linux?
27th Apr 2020, 8:48 PM
Valmob101
Valmob101 - avatar
+ 2
Try using this in python console: import pip pip.main(['install', 'PyAudio'])
27th Apr 2020, 8:17 PM
Valmob101
Valmob101 - avatar
+ 1
So I also tried but nothing works with that error generated every time ,also it says no such file or directory portaudio.h
27th Apr 2020, 8:30 PM
Abhay
Abhay - avatar
+ 1
Yup
27th Apr 2020, 8:52 PM
Abhay
Abhay - avatar
0
Can't use its Android phone
27th Apr 2020, 9:04 PM
Abhay
Abhay - avatar
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
27th Apr 2020, 9:19 PM
Abhay
Abhay - avatar