netease-youdao / BCEmbedding

Netease Youdao's open-source embedding and reranker models for RAG products.
Apache License 2.0
1.3k stars 85 forks source link

python3.11报错 #59

Closed qiansheng2 closed 2 months ago

qiansheng2 commented 2 months ago

你好,感谢开源。 但是,我在python3.11+macbook下报错:

发生异常: ModuleNotFoundError No module named 'BCEmbedding' File "/Users/nick/personal/pharmacist/package_insert_analyzer/main_intelligent_diagnosis.py", line 12, in from BCEmbedding import EmbeddingModel ModuleNotFoundError: No module named 'BCEmbedding'

我已经安装了“BCEmbedding”包。

如果使用python 3.10就没有问题,不知其他朋友是否遇到相同问题?

shenlei1020 commented 2 months ago

没试过python3.11,不过可能是环境问题,比如你的bce包是安装在以为的python3.11,还是别的环境的python下。which python看一下