when i try to install pyaudio it is also showing the following error
Running setup.py clean for pyaudio Failed to build pyaudio Installing collected packages: pyaudio Running setup.py install for pyaudio ... error Complete output from command c:\users\hp\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\HP\AppData\Local\Temp\pip-install-okii4l8n\pyaudio\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\HP\AppData\Local\Temp\pip-record-fpl5yt23\install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build\lib.win-amd64-3.7 copying src\pyaudio.py -> build\lib.win-amd64-3.7 running build_ext building '_portaudio' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
I have also tried to execute this in many different ids but it is not properly working.
Traceback (most recent call last): File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\site-packages\speech_recognition__init__.py", line 108, in get_pyaudio import pyaudio ModuleNotFoundError: No module named 'pyaudio'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:/study material/python programs/practice programs/jarvis2.py", line 66, in query = takeCommand().lower() File "E:/study material/python programs/practice programs/jarvis2.py", line 38, in takeCommand with sr.Microphone() as source: File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\site-packages\speech_recognition__init__.py", line 79, in init self.pyaudio_module = self.get_pyaudio() File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\site-packages\speech_recognition__init__.py", line 110, in get_pyaudio raise AttributeError("Could not find PyAudio; check installation") AttributeError: Could not find PyAudio; check installation