无法在 python 项目中安装或构建端口音频

时间:2021-03-18 10:33:43

标签: python-3.x visual-studio pyaudio portaudio pydub

python setup.py 构建 运行构建 运行 build_py 运行 build_ext 构建“_portaudio”扩展 C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\用户\桑 keat\PycharmProjects\PaliLanguage\venv\include -IC:\Users\Sangkeat\AppData\Local\Programs\Python\Python310\include -IC:\Users\Sangkeat\AppData\Local\Programs\Pytho n\Python310\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\ATLMFC\include -IC:\Program Files (x86)\Microsoft Vi sual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits \1 0\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0。 19041.0\um - IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.10\Release\src/_portaudiomodule.obj _portaudiomodule.c src/_portaudiomodule.c(29): 致命错误 C1083: 无法打开包含文件: 'portaudio.h': 没有那个文件或目录 错误:命令 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe' 失败,退出代码 2

0 个答案:

没有答案