Failed to build `webrtcvad==2.0.10`

Author: Anuoluwapo312Created Dec 11, 2025Updated Dec 11, 2025

x Failed to build webrtcvad==2.0.10 |-> The build backend returned an error -> Call to setuptools.build_meta:legacy.build_wheel` failed (exit code: 1)

  [stdout]
  running bdist_wheel
  running build
  running build_py
  copying webrtcvad.py -> build\lib.win-amd64-cpython-39
  running build_ext
  building '_webrtcvad' extension
  "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\bin\HostX86\x64\cl.exe" /c
  /nologo /O2 /W3 /GL /DNDEBUG /MD -D_WIN32 -Icbits -IC:\Users\USER\AppData\Local\\\uv\cache\builds-v0\.tmpXLdTOO\include
  -IC:\Users\USER\AppData\Roaming\\\uv\python\cpython-3.9.25-windows-x86_64-none\include
  -IC:\Users\USER\AppData\Roaming\\\uv\python\cpython-3.9.25-windows-x86_64-none\Include "-IC:\Program
  Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\include" "-IC:\Program
  Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\VS\include" /Tccbits\pywebrtcvad.c
  /Fobuild\temp.win-amd64-cpython-39\Release\cbits\pywebrtcvad.obj
  pywebrtcvad.c
  C:\Users\USER\AppData\Roaming\\\uv\python\cpython-3.9.25-windows-x86_64-none\include\pyconfig.h(59): fatal error C1083: Cannot
  open include file: 'io.h': No such file or directory

  [stderr]
  C:\Users\USER\AppData\Local\\\uv\cache\builds-v0\.tmpXLdTOO\lib\site-packages\setuptools\_distutils\dist.py:289: UserWarning:
  Unknown distribution option: 'test_suite'
    warnings.warn(msg)
  C:\Users\USER\AppData\Local\\\uv\cache\builds-v0\.tmpXLdTOO\lib\site-packages\setuptools\dist.py:759:
  SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: MIT License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    self._finalize_license_expression()
  error: command 'C:\\Program Files (x86)\\Microsoft Visual
  Studio\\18\\BuildTools\\VC\\Tools\\MSVC\\14.50.35717\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

  hint: This usually indicates a problem with the package or the build environment.

help: webrtcvad (v2.0.10) was included because real-time-voice-cloning (v0.0.0) depends on webrtcvad

Source: CorentinJ/Real-Time-Voice-Cloning