AIFSH / CosyVoice-ComfyUI

a comfyui custom node for CosyVoice
Apache License 2.0
175 stars 22 forks source link

Failed building wheel for webrtcvad #18

Open 1038lab opened 4 months ago

1038lab commented 4 months ago

Building wheels for collected packages: webrtcvad Building wheel for webrtcvad (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [19 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 copying webrtcvad.py -> build\lib.win-amd64-cpython-311 running build_ext building '_webrtcvad' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\cbits creating build\temp.win-amd64-cpython-311\Release\cbits\webrtc creating build\temp.win-amd64-cpython-311\Release\cbits\webrtc\common_audio creating build\temp.win-amd64-cpython-311\Release\cbits\webrtc\common_audio\signal_processing creating build\temp.win-amd64-cpython-311\Release\cbits\webrtc\common_audio\vad cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D_WIN32 -Icbits -IC:\AI\ComfyUI\python_embeded\include -IC:\AI\ComfyUI\python_embeded\Include /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-cpython-311\Release\cbits\pywebrtcvad.obj pywebrtcvad.c cbits\pywebrtcvad.c(1): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for webrtcvad Running setup.py clean for webrtcvad Failed to build webrtcvad ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (webrtcvad)

I did have visual studio c++ installed, anyone have same issue as me?

logo66612 commented 4 months ago

同样

Saganaki22 commented 4 months ago

same here

melMass commented 4 months ago

Try this instead: https://pypi.org/project/webrtcvad-wheels/

beetaa commented 2 months ago

这里的依赖有问题,先安装 webrtcvad-wheels==2.0.10 的 wheel,再安装 audiosegment,然后卸载 webrtcvad,再重新安装最新版本的 webrtcvad-wheels