stlukey / whispercpp.py

Python bindings for whisper.cpp
MIT License
211 stars 100 forks source link

Pip Install failing on windows #19

Open Oheed911 opened 1 year ago

Oheed911 commented 1 year ago

when I install it through the pip command it always gives me this error: ` error: subprocess-exited-with-error

× Building wheel for whispercpp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [1 lines of output] 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 whispercpp Failed to build whispercpp ERROR: Could not build wheels for whispercpp, which is required to install pyproject.toml-based projects`

I have also installed the microsoft visual c++ 14 too, but it still does not work.

Oheed911 commented 1 year ago

I also tried it on linux, it does install successfuly, when i run the code it gives error on importing whisper