Open Sritharan-racap opened 2 months ago
already having this issue too
Hi all,
Gensim is aware of this issue and already merged their patch, see https://github.com/piskvorky/gensim/issues/3525
As long as they haven't released, I suggest you follow their hotfix of pinning scipy = "<1.13.0"
How can this simple issue not be fixed yet? It seems that changing the import to from numpy import triu
fixes everything.
@MatrixRanger98 as noted on the comment above, this is fixed but gensim didn't release it already.
Well yes but if you don't want other packages to be affected, it is neater to install the develop branch of gensim:
pip install git+https://github.com/piskvorky/gensim.git@develop
still observing this issue on latest python 3.10 builds
Question
All of a sudden I'm getting this error. please help. I did
pip install flair
Update: flair is importing gensim which is importing scipy. On April-2-24, scipy removed the triu from linalg module.
from flair.data import Sentence
is failing. As it is a key component, pretty much all of flair code in our project is failing.