pip install PyAudio
Throws an error saying:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.20.27027\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Please figure this out for me.
I had the same problem this worked for me
I downloaded pyaudio library form then in command prompt, I installed pyaudio giving path and downloaded file like
C:\\Users\\%user%\\Downloads>python -m pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl
here i am assuming you downloaded pyaudio lib in C:\\Users\\%user%\\Downloads
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.