无法解决此错误,请有人帮助
尝试…从sentence_transformer导入SentenceTransformer
,它给了我这个错误…
ImportError: numpy>=1.17 is required for a normal functioning of this module, but found numpy==1.16.5.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
我尝试更新numpy(1.21.5),然后我意识到numpy-base版本低于1.17,我更新了numpy-base版本,它解决了