Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Unable to install fasttext (python) on windows. #606

Closed
ragvri opened this issue Aug 4, 2018 · 3 comments
Closed

Unable to install fasttext (python) on windows. #606

ragvri opened this issue Aug 4, 2018 · 3 comments

Comments

@ragvri
Copy link

ragvri commented Aug 4, 2018

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.

@ragvri
Copy link
Author

ragvri commented Aug 4, 2018

@racha999 That has nothing to do with my issue

@ragvri
Copy link
Author

ragvri commented Aug 9, 2018

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

@ragvri ragvri closed this as completed Aug 9, 2018
@1049451037
Copy link

https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@1049451037 @ragvri and others