Open whitedogedev opened 2 years ago
import sklearn
can solve this question
I tried with python3.11, but there where wheels missing on pypi
then on 3.10, I got the aforementioned error message which you copy pasted
eventually with 3.9, I got things working
my 2c, caveat emptor
I downgraded the transformers
library to version 4.30.2
and installed sentencepiece
If there’s still an issue and it seems related to the numpy version, then downgrade numpy
to version 1.26.4
This worked for me
`In [1]: from sentence_transformers import SentenceTransformer
ModuleNotFoundError Traceback (most recent call last)