Closed chriZVee closed 1 month ago
Might be fixed by #17 --- I updated the requirements.txt so it did not try to install webrtcvad twice -- instead it just used the wheels version.
If you are not using an API key, you will need to make sure rust is installed as well:
winget install Rustlang.Rustup
or scoop/choco equivalent.
Hi, I've approved and merged #17! Thanks @josher19. Did this fix your issue @chriZVee?
Hello there,
this tool is awesome, and on one of my machines it runs very well, and on the other I still get an error while setting it up.
What I have done so far:
Error description I receive the following error, when I execute the command ((venv) C:\Windows\System32\whisper-writer>pip install -r requirements.txt):
Building wheels for collected packages: webrtcvad Building wheel for webrtcvad (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for webrtcvad (pyproject.toml) 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 "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32 -Icbits -IC:\Windows\System32\whisper-writer\venv\include -IC:\Users\lisa\AppData\Local\Programs\Python\Python311\include -IC:\Users\lisa\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-cpython-311\Release\cbits\pywebrtcvad.obj pywebrtcvad.c C:\Users\lisa\AppData\Local\Programs\Python\Python311\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\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 Failed to build webrtcvad ERROR: Could not build wheels for webrtcvad, which is required to install pyproject.toml-based projects
Before reinstalling C++ Build Tools, the error (fatal error C1083: Cannot open include file: 'io.h': No such file or directory) was not present, but further reinstalling didn't fix it yet. The error shown above about the webrtcvad-wheels is persistent since my first tries to install it.
Do you guys have an idea, how to fix it?
Thanks for your time and support, Chris