Open adiezsanchez opened 1 year ago
Hi @adiezsanchez ,
the OpenGL error hints to a problem with the napari viewer. It cannot diplay the image because of a missing driver. Unfortunately, I have no experience with this. Related / similar discussions:
If one of those helps, please notify us here. Thanks!
Best, Robert
Hi @haesleinhuepf , I was just testing a small pipeline I built using .cle and APOC in Windows Linux Subsystem, WSL (it works just fine on Windows but wanted to test if the filepaths were OS agnostic).
Anyways after generating the venv inside WSL using
mamba create -n napari-devbio devbio-napari python=3.9 pyqt -c conda-forge
, activating it and running my ppp_GUI.PY script (https://github.com/adiezsanchez/intestinal_organoid_brightfield_analysis) I got the following error message:WARNING: Could not load OpenGL library. /home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari_tools_menu/init.py:10: UserWarning: Importing QT failed; now introducing dummy definitions of QMenu class and register_function decorator. warnings.warn("Importing QT failed; now introducing dummy definitions of QMenu class and register_function decorator.") /home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari_tools_menu/init.py:221: UserWarning: Error in monkey patching napari. Please let @haesleinleinhuepf know at https://github.com/haesleinhuepf/napari-tools-menu/issues warnings.warn("Error in monkey patching napari. Please let @haesleinleinhuepf know at\nhttps://github.com/haesleinhuepf/napari-tools-menu/issues") Traceback (most recent call last): File "/home/albertds/github_repos/intestinal_organoid_brightfield_analysis/ppp_GUI.py", line 6, in
from utils import (
File "/home/albertds/github_repos/intestinal_organoid_brightfield_analysis/utils.py", line 7, in
import napari_segment_blobs_and_things_with_membranes as nsbatwm # version 0.3.6
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari_segment_blobs_and_things_with_membranes/init.py", line 23, in
from napari_time_slicer import time_slicer
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari_time_slicer/init.py", line 4, in
from ._function import napari_experimental_provide_function
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari_time_slicer/_function.py", line 7, in
from napari.layers import Image, Labels, Layer
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/layers/init.py", line 9, in
from napari.layers.base import Layer
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/layers/base/init.py", line 1, in
from napari.layers.base._base_constants import ActionType
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/layers/base/_base_constants.py", line 4, in
from napari.utils.misc import StringEnum
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/utils/init.py", line 2, in
from napari.utils.colormaps import Colormap
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/utils/colormaps/init.py", line 2, in
from napari.utils.colormaps.colormap import Colormap
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/utils/colormaps/colormap.py", line 7, in
from napari.utils.color import ColorArray
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/utils/color.py", line 7, in
from napari.utils.colormaps.standardize_color import transform_color
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/napari/utils/colormaps/standardize_color.py", line 27, in
from vispy.color import ColorArray, get_color_dict, get_color_names
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/vispy/color/init.py", line 12, in
from .colormap import (Colormap, BaseColormap, # noqa
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/vispy/color/colormap.py", line 14, in
import vispy.gloo
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/vispy/gloo/init.py", line 47, in
from . import gl # noqa
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/vispy/gloo/gl/init.py", line 230, in
from . import es2 as default_backend # noqa
File "/home/albertds/miniforge3/envs/napari-devbio/lib/python3.9/site-packages/vispy/gloo/gl/es2.py", line 48, in
raise OSError('GL ES 2.0 library not found')
OSError: GL ES 2.0 library not found