K
K
Kirofeed2020-07-13 00:07:07
Python
Kirofeed, 2020-07-13 00:07:07

PyAudio (Pip) won't install, what should I do?

Unable to install PyAudio
Collecting pyaudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Building wheels for collected packages: pyaudio
Building wheel for pyaudio (setup.py) ... error
ERROR: Command errored out with exit status 1 :
command: 'c:\users\drozh\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\pyaudio\\setup.py'"'"';f=getattr(tokenize , '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\ n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\drozh\AppData\Local \Temp\pip-wheel-b7x33nlk'
creating build\lib.win32-3.8
copying src\pyaudio.py -> build\lib.win32-3.8
running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
--------------------------------- -------------
ERROR: Failed building wheel for pyaudio
Running setup.py clean for pyaudio
Failed to build pyaudio
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\drozh\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\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:
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
copying src\pyaudio.py -> build\lib.win32-3.8
running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
--------------------------------- -------------
ERROR: Command errored out with exit status 1: 'c:\users\drozh\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\drozh\\AppData\\Local\\Temp\\pip-install-lyx37qma\\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:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SirotaKazansky, 2020-07-13
@SirotaKazansky

So it tells you what to do:
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question