Closed echavezangel closed 2 years ago
On Dec 31 a new version of numpy was released which seemed to get updated during your add-on installation process. The new version of numpy introduced some changes which are incompatible with the current Orange code. We plan to update Orange to support newer numpy versions shortly (the fix was already committed, see #5760).
To confirm that this is the problem could you please open the Orange command prompt and paste the outputs of conda list
and conda --version
here?
You can solve your problem by installing the previous numpy version manually. Open the Orange command prompt and run conda install numpy=1.21
. Please report if that solved your problem. Do not forget to run Orange command prompt as admin.
Does anyone have any idea why would numpy get upgraded when installing add-ons? All but spectroscopy are installed with conda
, so It is likely something conda install
related. If numpy gets upgraded for at every add-on install (I suspect none has 1.22 as an explicit dependency) we have a problem...
Thank you for the answer the installation of previous numpy worked well.
here the full Conda list:
_py-xgboost-mutex 2.0 cpu_0
Conda --ver : conda 4.9.2
@echavezangel, thanks! Reopening because it needs to be seen why (or if) installing add-ons on Windows upgrades numpy. If it does, we also need new Windows packages.
I tried 3 add-ons on a test Windows computer. I confirm, Text
really forced the numpy upgrade. Interesting, it seems that one of its dependencies requires numpy newer that 1.19, at least on conda-forge.
To somewhat fix this issue or at least make Orange users suffer from it less often:
Now the new release of Orange3-text is made. Updating it to the newest version 1.6.2 should also fix Orange since it updates it.
I am getting a the following problem with data set files ("tab" files) after installing some adds Read error: '''Cannot parse dataset C:/Program Files/Orange/Lib/site-packages/Orange/datasets/housing.tab: Cannot cast ufunc 'contains (vectorized)' output from dtype('O') to dtype('bool') with casting rule 'same_kind' '''
I don't know exactly which is the add causing this problem. This appears after the installation of some adds (network, time series or any except spectroscopy). I updated the orange version 3.30.2 -> 3.31.0 but the problem didn't disappear. The only way to read again "tab" files is uninstalling orange and installing again.