whisper-node icon indicating copy to clipboard operation
whisper-node copied to clipboard

ERROR WHEN INSTALLING WITH WINDOWS

Open LucianoAPP opened this issue 2 years ago • 6 comments

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

LucianoAPP avatar Dec 08 '23 08:12 LucianoAPP

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

nuhgnc avatar Dec 25 '23 18:12 nuhgnc

same

level451 avatar Jan 09 '24 15:01 level451

same here

Damir9713 avatar Jan 20 '24 12:01 Damir9713

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

PS: I got the same problem

Coreeze avatar Jan 29 '24 13:01 Coreeze

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

IvRogoz avatar Feb 05 '24 11:02 IvRogoz

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?

LLLYF avatar Aug 16 '24 09:08 LLLYF