Win10下如何安装fasttext

    xiaoxiao2022-07-06  197

    1、背景

    window系统下直接用pip install fasttext,最后一直报错误无法解决

    官方GitHub(facebookresearch/fastText)上有说:‘Generally, fastText builds on modern Mac OS and Linux distributions. ’

    https://github.com/facebookresearch/fastText#building-fasttext-for-python

    2、解决方式

    安装成功方法参考博客:http://www.cnblogs.com/gaofighting/p/9552821.html

    首先去python的各种第三方安装包

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

    找到适合自己版本的.whl文件,然后下载安装

    pip install fasttext-0.8.22-cp35-cp35m-win_amd64.whl

     

    参考文献

    https://zhuanlan.zhihu.com/p/61804906

    最新回复(0)