一、下载(windows 版本下可以通过whl安装)
1. 地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext
2. 在我安装的环境下Lib\site-packages新建一个文件夹fastText
把下载好的whl文件放进去
注意: 确保下载合适的whl文件,否则可能出现fasttextxxxxx.whl is not a supported wheel on this platform错误
二、安装
切换到有whl文件的文件夹上
pip install fasttext-0.9.2-cp36-cp36m-win_amd64.whl
三、测试
import fastText
四、参考
Win7 + python3.6.2 环境下安装fasttext:https://blog.youkuaiyun.com/qq_17814041/article/details/80041189
windows安装fasttext:https://blog.youkuaiyun.com/yyy430/article/details/88534319