Trying to use word2vec this is where the error is raised :
import gensim.downloader as api
word2vec_model = api.load("word2vec-google-news-300")
I tried to update my Scipy library version but it was still the same. I downgraded it, then to 1.12 since I found that triu , I deprecated in the last Scipy version. But still, the same error.
Syrine Fekih is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
The
scipy.linalg
functionstri
,triu
&tril
are deprecated and will be removed in SciPy 1.13.
https://docs.scipy.org/doc/scipy/release/1.11.0-notes.html#deprecated-features
you need :
pip install "scipy<1.13"