macos环境下安装fasttext除了homebrewhomebrew因为vpn下不下来
,还可以通过以下步骤进行安装:
- 打开终端,下载fasttext源代码:
git clone https://github.com/facebookresearch/fastText.git
- 进入fasttext目录,编译源代码:
cd fastText
make
- 安装命令行工具:
sudo make install
- 测试是否安装成功:
fasttext
如果成功安装,会显示fasttext的帮助文档。
原文地址: https://www.cveoy.top/t/topic/eq1L 著作权归作者所有。请勿转载和采集!