繁体   English   中英

使用Anaconda在Windows 10上安装FastText

[英]Install fasttext on Windows 10 with anaconda

我正在尝试使用以下命令在Windows 10的anaconda中安装fasttext:pip install fasttext,如此处所述: https ://pypi.org/project/fasttext/

错误消息是:

ValueError: Unknown MS Compiler version 1900

Command "c:\users\nicol\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\nicol\\AppData\\Local\\Temp\\pip-install-pd0xqmlg\\fasttext\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\nicol\AppData\Local\Temp\pip-record-4qt38yfk\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\nicol\AppData\Local\Temp\pip-install-pd0xqmlg\fasttext\

您能告诉我如何解决此问题吗?

列出的唯一要求是Cython,我具有:

(C:\Users\nicol\Anaconda3) C:\Users\nicol>pip install Cython
Requirement already satisfied: Cython in c:\users\nicol\anaconda3\lib\site-packages (0.25.2)

尝试:

pip install fasttext_win

如果可行,则将cmoscardi的响应归功于GitHub。 https://github.com/salestock/fastText.py/issues/167#issuecomment-404258960

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM