Fasttext: Unable to install fasttext (python) on windows.

Created on 4 Aug 2018  路  3Comments  路  Source: facebookresearch/fastText

So I am unable to install fasttext for python on windows. I followed the methods mentioned in this issue

When I enter python setup.py install, I get the following error:

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

I tried using the wheel at https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext. It does install a module, however the name of the module is fasttext unlike fastText that gets installed on Ubuntu following the method mentioned in Readme.md. Also the fasttext module that does get installed is unable to load a prebuilt model like wiki.de.bin. I get an error saying Cannot load ../fasttext/wiki.es/wiki.es.bin due to C++ extension failed to allocate the memory Relevant issue.

Most helpful comment

All 3 comments

@racha999 That has nothing to do with my issue

New wheels updated at lfd.uci.edu/~gohlke/pythonlibs/#fasttext. Use the wheels for windows.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pengyu picture pengyu  路  3Comments

a11apurva picture a11apurva  路  3Comments

shriiitk picture shriiitk  路  3Comments

loretoparisi picture loretoparisi  路  3Comments

ereday picture ereday  路  3Comments