orange3-text icon indicating copy to clipboard operation
orange3-text copied to clipboard

Text add-on does not work with newest scipy (because of gensim)

Open Threeandy opened this issue 10 months ago • 4 comments

Anaconda installed Orange3.62.2 smoothly It is also normal to execute Orange But after installing Text Add-ons The Orange home screen does not display the Text icon function (as shown in the screenshot) Where did the problem occur?

01 02

Threeandy avatar Apr 19 '24 02:04 Threeandy

I have the icon that supposedly allows me to install it but does not then appear on the menu as it says it should

KelvinBalcombe avatar Apr 25 '24 14:04 KelvinBalcombe

Dear Kelvin, seems we meet the same problem !!

Threeandy avatar May 09 '24 02:05 Threeandy

First, I tried the installer from Orange's web page, and everything was OK.

Next, I tried using a fresh Miniconda environment, and I managed to reproduce the bug. The issue is that gensim, one of Text's dependencies, expects imports triu from scipy.linalg, which was removed in scipy 1.13. So to make it work, downgrade scipy: conda install scipy=1.11.4

We have to discuss how to solve this more generally.

As a side note, I see that orange3-text was installed from pypi in my case even though I was running it from a (custom) Miniconda. Is this expected?

markotoplak avatar May 10 '24 09:05 markotoplak

Reference: piskvorky/gensim#3525

markotoplak avatar May 10 '24 09:05 markotoplak