orange3 icon indicating copy to clipboard operation
orange3 copied to clipboard

orange-canvas does not work

Open pgr123 opened this issue 1 year ago • 6 comments

What's wrong?

orange-canvas does not work and says "illegal instruction (core dumped)" after the splash screen, so impossible to open it (Idem with python -m Orange.canvas)

How can we reproduce the problem?

By trying orange-canvas after having installed with pip3 install orange3

What's your environment?

  • Operating system: Linux Mint 21.2
  • Orange version: 3.36.1
  • How you installed Orange: pip3 install orange3
  • I use Python 3.10.12 with numpy, scipy, PyQt5 (version 5.15.6) and PyQtWebEngine (version 5.15.5) Thank you.

pgr123 avatar Dec 03 '23 10:12 pgr123

Thank you for you issue, but that leaves too many variables to sort out. Perhaps you can get some more descriptive error from your system?

Orange from pip works for me on a related system (Ubuntu 22.04).

The think I'd try first when debugging these kinds of errors would be to try without any system packages, in a fresh python environment:

  • Either try installing with conda per instructions here: https://github.com/biolab/orange3/blob/master/README.md
  • or make a system independent virtual environment (virtualenv, pyenv) and install all packages with pip inside that.

markotoplak avatar Dec 04 '23 06:12 markotoplak

Thank you for your answer but I have also installed orange3 with conda as explained and the result is the same. So, I do not know what to do.

pgr123 avatar Dec 04 '23 06:12 pgr123

I am very sorry ! My problem is not with Orange but with my computer. Maybe it is too old. I install Orange3 on another computer with pip3 and it works fine. Excuse me and thank you very much. Felicitations for Orange3 ! Have a good day. Best regards.

Pascal

pgr123 avatar Dec 04 '23 10:12 pgr123

I have another little problem : how can I use earth regression (aka MARS) in Orange3 ? There is an addon but how can I install it ?

pgr123 avatar Dec 04 '23 10:12 pgr123

Please, how can I use Earth in Orange3 ? I try the example : import Orange data = Orange.data.Table("housing") c = Orange.regression.earth.EarthLearner(data, degree=2, terms=10) print(c)

but I got an error :

Traceback (most recent call last): File "/home/pascal/Bureau/toto2.py", line 3, in c = Orange.regression.earth.EarthLearner(data, degree=2, terms=10) File "/home/pascal/.local/lib/python3.10/site-packages/Orange/misc/lazy_module.py", line 13, in getattr return getattr(self._do_import(), key) AttributeError: module 'Orange.regression' has no attribute 'earth'

Please help me, thank you.

pgr123 avatar Dec 04 '23 14:12 pgr123

earth (MARS) was part of the orange-multitarget package that hasn't been updated since 2012. It is unlikely to work with the current version of Orange.

(I managed to install it manually by modifying setup.py but the widgets don't show up.)

processo avatar Jan 01 '24 19:01 processo