使用Anaconda在Windows 10上安装FastText

编程入门 行业动态 更新时间:2024-10-27 08:33:47
本文介绍了使用Anaconda在Windows 10上安装FastText的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I am trying to install fasttext in anaconda with Windows 10 using the command: pip install fasttext as explained here: pypi/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\

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

Can you tell me how I can fix this problem?

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

The only requirement listed is Cython, which I have:

(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上的回应. github/salestock/fastText.py/issues/167#issuecomment-404258960

If this works, credits to cmoscardi for his response in GitHub. github/salestock/fastText.py/issues/167#issuecomment-404258960

更多推荐

使用Anaconda在Windows 10上安装FastText

本文发布于:2023-11-24 11:33:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1625034.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows   Anaconda   FastText

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!