facebookresearch / StarSpace

Learning embeddings for classification, retrieval and ranking.
MIT License
3.94k stars 531 forks source link

Build of starspace and python wrapper in windows 10 #269

Closed TSPereira closed 5 years ago

TSPereira commented 5 years ago

So I have been looking at starspace and it is quite easy to build it for unix systems, but when I was asked to build it under Windows, this turned out to be really challenging. Not sure if it is just a matter of compatibilities of the programs installed, but finally I managed to build everything and thought the process could be useful for other users.

First of all, it might be worth to clean the installations of Visual Studio you might have on your computer. One of the issued I had was links to folders in multiple versions of Visual Studio. I ended up by cleaning everything and installing VC2017 and from there on it solved some of the issues.

After that follow the instructions in the file attached Starspace installation details.txt

Not sure if this will help someone, but at least for me it was a pain to build this on Windows. Hope I haven't forgot any step.

TSPereira commented 5 years ago

This is more of a contribution than an issue, so feel free to close it right away.