I've been trying to install PyAudio for a speechrecognition project but for everything I've tried nothing has worked. I tried to install with the latest version of python (3.7) only to noobishly find out that pyaudio isnt compatible with that yet and now im trying with 3.4.
However, whenever I run 'pip install PyAudio' I get an error message saying 'error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).' I have Microsoft Visual C++ 10.0 installed but it just doesn't work.
I'm at my wits end here please help.
(Running Windows 8.1 btw)
pipyou're running is actually thepipfor your Python 3 install. To be sure, better to runpython3.4 -m pip install .... Then make sure to see stackoverflow.com/questions/2817869/… That said, it does appear that PyAudio has pre-compiled wheels for up to Python 3.6 on Windows so I'm not sure why you wouldn't be getting those: pypi.org/project/PyAudio/#files - IguananautpythonX.Yaliases. What I mean is just make sure you are running pip with the correct Python interpreter. When I ranC:\Python34\python -m pip install pyaudioit simply installed the pre-built wheel. - Iguananaut