Здравствуйте вот такая ошибка выводится при установке PyAudio. Срочно нужна помощь
ERROR: Command errored out with exit status 1:
command: 'c:\users\viktor\pycharmprojects\karen\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Viktor\\AppData\\Local\\Temp\\pip-install-96kfobf4\\pyaudio_2c98aa9fedd2413aa8323dbd
098fc586\\setup.py'"'"'; __file__='"'"'C:\\Users\\Viktor\\AppData\\Local\\Temp\\pip-install-96kfobf4\\pyaudio_2c98aa9fedd2413aa8323dbd098fc586\\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\Viktor\AppData\Local\Temp\pip-record-6kz64c0j\install-record.txt' --single-version-externally-managed --compile --instal
l-headers 'c:\users\viktor\pycharmprojects\karen\venv\include\site\python3.9\pyaudio'
cwd: C:\Users\Viktor\AppData\Local\Temp\pip-install-96kfobf4\pyaudio_2c98aa9fedd2413aa8323dbd098fc586\
Complete output (17 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
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -Ic:\users\viktor\pycharmprojects\karen\venv\include -IC:\Users\Vikt
or\AppData\Local\Programs\Python\Python39\include -IC:\Users\Viktor\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files
(x86)\Windows Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10
.0.18362.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.9\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Users\Viktor\AppData\Local\Programs\Python\Python39\include\pyconfig.h(117): warning C4005: MS_WIN64: Ё§¬ҐҐЁҐ ¬ Єа®®ЇаҐ¤Ґ«ҐЁп
src/_portaudiomodule.c: note: б¬. ЇаҐ¤л¤г饥 ®ЇаҐ¤Ґ«ҐЁҐ "MS_WIN64"
src/_portaudiomodule.c(29): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: portaudio.h: No such file or directory,
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
---------------------------------------ERROR: Command errored out with exit status 1: 'c:\users\viktor\pycharmprojects\karen\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Viktor\\AppData\\Local\\Temp\\pip-install-96kfobf4\
\pyaudio_2c98aa9fedd2413aa8323dbd098fc586\\setup.py'"'"'; __file__='"'"'C:\\Users\\Viktor\\AppData\\Local\\Temp\\pip-install-96kfobf4\\pyaudio_2c98aa9fedd2413aa8323dbd098fc586\\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\Viktor\AppData\Local\Temp\pip-record-6kz64c0j\install-record.txt' --single-version-exte
rnally-managed --compile --install-headers 'c:\users\viktor\pycharmprojects\karen\venv\include\site\python3.9\pyaudio' Check the logs for full command output.
Вопрос задан
более трёх лет назад
791 просмотр