Installing PyAudio | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 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 Respostas
+ 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