Open HealthyPear opened 2 weeks ago
I fixed this by changing the import code in to_glue as below,
try:
from glue.app.qt import GlueApplication
except ImportError:
from glue_qt.app.application import GlueApplication
from glue.core import DataCollection, Data
from glue.core.coordinates import coordinates_from_header
try:
from glue.viewers.image.qt.data_viewer import ImageViewer
except ImportError:
from glue_qt.viewers.image import ImageViewer
except ImportError:
from glue.viewers.image.qt.viewer_widget import ImageWidget as ImageViewer
if you want I can open a PR.
I can't really make use of this because the only thing I need (iso surfaces) is not available (anymore) from there, but at least I manages to make it work.
thanks @HealthyPear! We'd appreciate you opening a PR.
I installed glue on an arm64 machine but in a
CONDA_SUBDIR=osx-64
environment. I installed via pip resulting inas soon as I call the
to_glue
method I get this errorI am instead able to launch
glue
alone