abdeladim-s / subsai

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️
https://abdeladim-s.github.io/subsai/
GNU General Public License v3.0
1.31k stars 107 forks source link

[bug] error: Microsoft Visual C++ 14.0 or greater is required #31

Open mcabel opened 1 year ago

mcabel commented 1 year ago

Windows 11 intel 12700

I tried running as admin /non admin on cmd and also powershell but neither works.

I installed the "microsoft build tools" as requested in the error, and restarted, but the error still continues.

Please help.


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 ╰─> [9 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win32-cpython-311 copying webrtcvad.py -> build\lib.win32-cpython-311 running build_ext building '_webrtcvad' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for webrtcvad Successfully built subsai whisper-timestamped Failed to build webrtcvad ERROR: Could not build wheels for webrtcvad, which is required to install pyproject.toml-based projects

abdeladim-s commented 1 year ago

@mcabel,

I think the problem is caused by webrtcvad so I removed it from the dependencies list of pywhispercpp

Could you please re-install the new update of subsai again and check if it is solved ?