You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run the "orange-canvas" command, I encountered an import error in Python that prevented me from running the app.
D:\Users\xxxxxxx\AppData\Local\anaconda3\envs\orange3_dev\python.exe F:/project/orange3/Orange/canvas/main.py
F:\project\orange3\Orange\canvas_main_.py:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Traceback (most recent call last):
File "F:\project\orange3\Orange\canvas_main_.py", line 35, in
from Orange import canvas
File "F:\project\orange3\Orange_init_.py", line 4, in
from Orange import data
File "F:\project\orange3\Orange\data_init_.py", line 4, in
from .variable import *
File "F:\project\orange3\Orange\data\variable.py", line 15, in
from Orange.data import _variable
ImportError: cannot import name 'variable' from partially initialized module 'Orange.data' (most likely due to a circular import) (F:\project\orange3\Orange\data_init.py)
What's your environment?
Operating system: windows 10
Orange version: 3.37
How you installed Orange: git clone then pip install -e orange3
The text was updated successfully, but these errors were encountered:
This is probably not a problem with Orange (and probably can't be resolved in Orange) but rather with something peculiar in your setup or the way you run Orange.
From which directory do you run orange-canvas? Can you cd to a completely unrelated directory? I cannot replicate your exact problem, but Python searches for modules in the current directory first, which can lead to problems.
When attempting to run the "orange-canvas" command, I encountered an import error in Python that prevented me from running the app.
D:\Users\xxxxxxx\AppData\Local\anaconda3\envs\orange3_dev\python.exe F:/project/orange3/Orange/canvas/main.py
F:\project\orange3\Orange\canvas_main_.py:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Traceback (most recent call last):
File "F:\project\orange3\Orange\canvas_main_.py", line 35, in
from Orange import canvas
File "F:\project\orange3\Orange_init_.py", line 4, in
from Orange import data
File "F:\project\orange3\Orange\data_init_.py", line 4, in
from .variable import *
File "F:\project\orange3\Orange\data\variable.py", line 15, in
from Orange.data import _variable
ImportError: cannot import name 'variable' from partially initialized module 'Orange.data' (most likely due to a circular import) (F:\project\orange3\Orange\data_init.py)
What's your environment?
The text was updated successfully, but these errors were encountered: