Public bug reported:
When attempting to run the "orange-canvas" command, I encountered an
import error in Python that prevented me from running the app.
Traceback (most recent call last):
File "/bin/orange-canvas", line 5, in <module>
from Orange.canvas.__main__ import main
File "/usr/lib/python3/dist-packages/Orange/__init__.py", line 4, in <module>
from Orange import data
File "/usr/lib/python3/dist-packages/Orange/data/__init__.py", line 4, in
<module>
from .variable import *
File "/usr/lib/python3/dist-packages/Orange/data/variable.py", line 15, in
<module>
from Orange.data import _variable
ImportError: cannot import name '_variable' from partially initialized module
'Orange.data' (most likely due to a circular import)
(/usr/lib/python3/dist-packages/Orange/data/__init__.py)
Ubuntu release: Ubuntu 24.04 LTS
Package name: python3-orange3
Version: 3.35.0+ds1-5build2
Expected Behavior: The "orange-canvas" command should open the Orange canvas
window or welcome screen as usual.
Actual Behavior: I received an ImportError when running the `orange-canvas`
command, which prevented me from opening the Orange canvas window.
** Affects: orange3 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063870
Title:
"orange-canvas" command fails with import error in Orange 3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orange3/+bug/2063870/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs