@Kirofeed

Не устанавливается PyAudio (Pip), что делать?

Не получается установить 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'
cwd: C:\Users\drozh\AppData\Local\Temp\pip-install-lyx37qma\pyaudio\
Complete output (9 lines):
running bdist_wheel
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: 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:\Users\drozh\AppData\Local\Temp\pip-record-l9c2j54t\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\drozh\appdata\local\programs\python\python38-32\Include\pyaudio'
cwd: C:\Users\drozh\AppData\Local\Temp\pip-install-lyx37qma\pyaudio\
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:\Users\drozh\AppData\Local\Temp\pip-record-l9c2j54t\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\drozh\appdata\local\programs\python\python38-32\Include\pyaudio' Check the logs for full command output.
  • Вопрос задан
  • 1292 просмотра
Пригласить эксперта
Ответы на вопрос 1
@SirotaKazansky
System Analyst
Так оно Вам говорит чего делать:

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы