ariym / whisper-node

Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)
https://npmjs.com/whisper-node
MIT License
242 stars 42 forks source link

ERROR WHEN INSTALLING WITH WINDOWS #31

Open LucianoAPP opened 11 months ago

LucianoAPP commented 11 months ago

I installed all the necessary dependencies to use with Windows and the same error continues to appear. I saw that several people reported the same error. Has anyone managed to solve it?

PS: I ALREADY INSTALLED THIS AND THERE WAS AN ERROR https://gnuwin32.sourceforge.net/packages/make.htm

image You can now use it like this: main.exe -m C:\Developer\Pruebas\whipser-test\node_modules\whisper-node\lib\whisper.cpp\models\ggml-base.en.bin -f C:\Developer\Pruebas\whipser-test\node_modules\whisper-node\lib\whisper.cpp\samples\jfk.wav [whisper-node] Attempting to compile model... "cc" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. "head" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. I whisper.cpp build info: I UNAME_S: I UNAME_P: I UNAME_M: I CFLAGS: -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -pthread I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -pthread I LDFLAGS: I CC: I CXX:

cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -pthread -c ggml.c -o ggml.o process_begin: CreateProcess(NULL, uname -s, ...) failed. process_begin: CreateProcess(NULL, uname -p, ...) failed. process_begin: CreateProcess(NULL, uname -m, ...) failed. process_begin: CreateProcess(NULL, which nvcc, ...) failed. process_begin: CreateProcess(NULL, cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -pthread -c ggml.c -o ggml.o, ...) failed. make (e=2): El sistema no puede encontrar el archivo especificado. make: *** [ggml.o] Error 2

nuhgnc commented 11 months ago

I'm having the same problem. Did you solve this problem

level451 commented 10 months ago

same

Damir9713 commented 10 months ago

same here

Coreeze commented 10 months ago

Haha, @LucianoAPP you included the link in the PS.

PS: I got the same problem

IvRogoz commented 9 months ago

I've installed make and no joy. From the makefile, I can see it marked as TODO: support for Windows.

there is an Issue on whisper.cpp

it states that the proposed solution is:

cd whisper.cpp cmake -B build . cmake --build build -j16 --config Release

cd build/bin ./main.exe

I have on my system cmake (via VS code) or https://cmake.org/download/ And it compiled

note that whisper.cpp folder is in node_modules>whisper-node>lib>whisper.cpp

LLLYF commented 3 months ago

I've installed make and no joy. From the makefile, I can see it marked as TODO: support for Windows.

there is an Issue on whisper.cpp

it states that the proposed solution is:

cd whisper.cpp cmake -B build . cmake --build build -j16 --config Release

cd build/bin ./main.exe

I have on my system cmake (via VS code) or https://cmake.org/download/ And it compiled

note that whisper.cpp folder is in node_modules>whisper-node>lib>whisper.cpp

How can I turn it into GPU execution?