1. 确保安装fasttext
git clone /facebookresearch/fastText.git cd fastTextpython setup.py install
2. 要导入fasttext或fasttext.FastText,而不是FastText
python程序中要导入的是fasttext
import fasttext
或是
import fasttext.FastText
不是:import FastText
时间:2024-04-15 19:45:18
git clone /facebookresearch/fastText.git cd fastTextpython setup.py install
python程序中要导入的是fasttext
import fasttext
或是
import fasttext.FastText
不是:import FastText