biolab / orange3-text

🍊 :page_facing_up: Text Mining add-on for Orange3
Other
127 stars 84 forks source link

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

Closed Threeandy closed 4 months ago

Threeandy commented 7 months ago

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

KelvinBalcombe commented 7 months ago

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

Threeandy commented 6 months ago

Dear Kelvin, seems we meet the same problem !!

markotoplak commented 6 months ago

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 commented 6 months ago

Reference: piskvorky/gensim#3525