Solution found here : https://github.com/facebookresearch/fastText/issues/411
for everyone having problems when compiling fasttext under Windows like @KarlH , @Chris_Palmer and me.
I can’t believe that it’s not already updated (since january) as it’s only a missing #include.
To summarize :
- git clone https://github.com/facebookresearch/fastText.git
- modify fasttext/src/productquantizer.cc and add :
- open an anaconda prompt, access the fastai env, then go to the fastText sources directory and run :
pip install .