error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio" code example
Example: error: microsoft visual c 14.0 or greater is required. get it with "microsoft c build tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Command errored out with exit status 1:
command: 'c:\users\admin\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-0rdkd9p0\\pyaudio_bc487017dfbc408996a4de78b414316a\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-0rdkd9p0\\pyaudio_bc487017dfbc408996a4de78b414316a\\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\Admin\AppData\Local\Temp\pip-record-crspb_oq\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\admin\appdata\local\programs\python\python39\Include\Pyaudio'
cwd: C:\Users\Admin\AppData\Local\Temp\pip-install-0rdkd9p0\pyaudio_bc487017dfbc408996a4de78b414316a\
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying src\pyaudio.py -> build\lib.win-amd64-3.9
running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\admin\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-0rdkd9p0\\pyaudio_bc487017dfbc408996a4de78b414316a\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-0rdkd9p0\\pyaudio_bc487017dfbc408996a4de78b414316a\\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\Admin\AppData\Local\Temp\pip-record-crspb_oq\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\admin\appdata\local\programs\python\python39\Include\Pyaudio' Check the logs for full command output.