Python 3.x 在windows上安装pyfasttext

Python 3.x 在windows上安装pyfasttext,python-3.x,fasttext,Python 3.x,Fasttext,如前所述,我尝试在Windows10上的python 3.6下安装pyfasttext。 我有mingw的g++和clang LLVM 7.0.1,并将它们都放在环境变量上。 我设置使用\u CYSIGNALS=0,因为我在windows上。 但当我运行命令时: python setup.py install 我得到了以下错误: File "setup.py", line 66, in build_extensions if 'clang' in self.compiler.compi

如前所述,我尝试在Windows10上的python 3.6下安装pyfasttext。 我有mingw的g++和clang LLVM 7.0.1,并将它们都放在环境变量上。 我设置
使用\u CYSIGNALS=0
,因为我在windows上。 但当我运行命令时:

python setup.py install
我得到了以下错误:

File "setup.py", line 66, in build_extensions
    if 'clang' in self.compiler.compiler[0]:
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'

有人能帮我吗,我想在windows上使用pyfasttext。

对不起,我没有很好地阅读github上的文档,上面说:

Warning! pyfasttext is no longer maintained: 
use the official Python binding from the fastText repository:
https://github.com/facebookresearch/fastText/tree/master/python
所以我只需要安装fastText即可

pip install fastText

Windows上不支持pyfasttext,因为CYSIGNALS不是为Windows编译的