Reputation: 718
I tried to install pyfasttext on windows 10 under python 3.6 as explained here.
I have g++ from mingw, clang LLVM 7.0.1 and put both of them on environment variable.
I set USE_CYSIGNALS=0
because I'm on windows.
But when I run the command:
python setup.py install
I got the following error:
File "setup.py", line 66, in build_extensions
if 'clang' in self.compiler.compiler[0]:
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'
Can anyone help me on this, I want to be able to use pyfasttext on windows.
Upvotes: 1
Views: 1058
Reputation: 103
pyfasttext is not supported on Windows as CYSIGNALS isnot compiled for Windows.
Upvotes: 0
Reputation: 718
Sorry, I didn't read very well docs from github that says:
Warning! pyfasttext is no longer maintained:
use the official Python binding from the fastText repository:
https://github.com/facebookresearch/fastText/tree/master/python
So I only need to install fastText instead.
pip install fastText
Upvotes: 2