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

Make error postinstall

Open kolykhalov opened this issue 7 years ago • 2 comments

Hello dev guys! :)

Would appreciate your help with install failure. I got GnuWin32 installed and path is specified in system and user path settings. Still I got this error.

Output (from npm):

`C:\Users\kolyk\WebstormProjects\whislabackend>npm install word2vec

> [email protected] postinstall C:\Users\kolyk\WebstormProjects\whislabackend\node_modules\word2vec
> make --directory=src

make: Entering directory `C:/Users/kolyk/WebstormProjects/whislabackend/node_modules/word2vec/src'
gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result -fno-stack-protector
process_begin: CreateProcess(NULL, gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result -fno-stack-protector, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [word2vec] Error 2
make: Leaving directory `C:/Users/kolyk/WebstormProjects/whislabackend/node_modules/word2vec/src'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] postinstall: `make --directory=src`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\kolyk\AppData\Roaming\npm-cache\_logs\2017-08-20T14_11_30_352Z-debug.log

C:\Users\kolyk\WebstormProjects\whislabackend>

Any ideas?

Thanks

kolykhalov avatar Aug 20 '17 14:08 kolykhalov

I never got it to run on Windows, which word2vec does not support as an operating system, unfortunately.

Planeshifter avatar Aug 29 '17 14:08 Planeshifter

You can use bash linux on win 10 to change environment @kolykhalov

thuy-le-ep avatar Oct 28 '17 03:10 thuy-le-ep