@prince_pagani

PyAudio ошибка при установки?

Здраствуйте выводит ошибку при установке PyAudio помогите!
Installing collected packages: PyAudio
Running setup.py install for PyAudio: started
Running setup.py install for PyAudio: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\isabe\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\isabe\\AppData\\Local\\Temp\\pip-install-qbhyvykq\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\isabe\\AppData\\Local\\Temp\\pip-install-qbhyvykq\\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\isabe\AppData\Local\Temp\pip-record-doe1w_1s\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\isabe\appdata\local\programs\python\python38\Include\PyAudio'
cwd: C:\Users\isabe\AppData\Local\Temp\pip-install-qbhyvykq\pyaudio\
Complete output (15 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
copying src\pyaudio.py -> build\lib.win-amd64-3.8
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\src
E:\vss\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -Ic:\users\isabe\appdata\local\programs\python\python38\include -Ic:\users\isabe\appdata\local\programs\python\python38\include -IE:\vss\VC\Tools\MSVC\14.28.29333\ATLMFC\include -IE:\vss\VC\Tools\MSVC\14.28.29333\include /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.8\Release\src/_portaudiomodule.obj
_portaudiomodule.c
src/_portaudiomodule.c(27): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
error: command 'E:\\vss\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\isabe\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\isabe\\AppData\\Local\\Temp\\pip-install-qbhyvykq\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\isabe\\AppData\\Local\\Temp\\pip-install-qbhyvykq\\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\isabe\AppData\Local\Temp\pip-record-doe1w_1s\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\isabe\appdata\local\programs\python\python38\Include\PyAudio' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.0 is available.
You should consider upgrading via the 'c:\users\isabe\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.
  • Вопрос задан
  • 60 просмотров
Решения вопроса 1
@s4q
При такой ошибке используйте исходники whl.
Найдите здесь Вашу версию Python и архитектуру.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
Затем перейдите в папку с файлом .whl и используйте pip install имя_скачанного_файла.whl
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

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

Войти через центр авторизации
Похожие вопросы