shibing624 / text2vec

text2vec, text to vector. 文本向量表征工具,把文本转化为向量矩阵,实现了Word2Vec、RankBM25、Sentence-BERT、CoSENT等文本表征、文本相似度计算模型,开箱即用。
https://pypi.org/project/text2vec/
Apache License 2.0
4.48k stars 396 forks source link

cannot import name 'Similarity' from 'text2vec' (/root/text2vec.py) #156

Open smileyboy2019 opened 3 weeks ago

smileyboy2019 commented 3 weeks ago

ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /root/anaconda3/lib/python3.12/site-packages/scipy/spatial/_ckdtree.cpython-312-x86_64-linux-gnu.so)

shibing624 commented 3 weeks ago

自行安装scipy