Failing: Model compiling using npx whisper-node download
Closed this issue · 3 comments
dzlandis commented
I'm getting this error in the compiling part of the npx whisper-node download
command:
(ENTER for base.en): base
Downloading ggml model base...
Done! Model base saved in C:\Users\node_modules\whisper-node\lib\whisper.cpp\models\ggml-base.bin
You can now use it like this:
main.exe -m C:\Users\node_modules\whisper-node\lib\whisper.cpp\models\ggml-base.bin -f C:\Users\node_modules\whisper-node\lib\whisper.cpp\samples\jfk.wav
[whisper-node] Attempting to compile model...
process_begin: CreateProcess(NULL, uname -s, ...) failed.
Makefile:2: pipe: No error
process_begin: CreateProcess(NULL, uname -p, ...) failed.
Makefile:6: pipe: No error
process_begin: CreateProcess(NULL, uname -m, ...) failed.
Makefile:10: pipe: No error
'cc' is not recognized as an internal or external command,
operable program or batch file.
'head' is not recognized as an internal or external command,
operable program or batch file.
I whisper.cpp build info:
I UNAME_S:
I UNAME_P:
I UNAME_M:
I CFLAGS: -I. -O3 -std=c11 -fPIC -mfma -mf16c -mavx -mavx2
I CXXFLAGS: -I. -I./examples -O3 -std=c++11 -fPIC
I LDFLAGS:
I CC:
I CXX:
cc -I. -O3 -std=c11 -fPIC -mfma -mf16c -mavx -mavx2 -c ggml.c -o ggml.o
process_begin: CreateProcess(NULL, cc -I. -O3 -std=c11 -fPIC -mfma -mf16c -mavx -mavx2 -c ggml.c -o ggml.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:176: ggml.o] Error 2
ChetanXpro commented
Did you installed make tool ? In windows
dzlandis commented
@ChetanXpro yes I have it installed but it could be possible I have not done it correctly. Could you link me to some correct instructions for installing? I believe I have it installed correctly though.
ariym commented
Windows requires additional steps to use the 'make' command for C++ projects