piskvorky/gensim

The triu function is now removed from scipy module

marianpascalau opened this issue · 1 comments

https://github.com/piskvorky/gensim/blame/e7b441b87a967e22668a2365bcb60a13e9496215/gensim/matutils.py#L20

Hi there,
From what I see in documentation, the scipy.triu function is deprecated and will be removed from future scipy versions,, ... which are already available online:

https://docs.scipy.org/doc/scipy/release/1.11.0-notes.html
The scipy.linalg functions tri, triu & tril are deprecated and will be removed in SciPy 1.13. Users are recommended to use the NumPy versions of these functions with identical names.

Can you please fix this import line as is not working anymore ?

Yes, thank you for reporting – closing as duplicate of #3525.