Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected component labeling returns error on macOS M1 #49

Open
psobolewskiPhD opened this issue Feb 13, 2022 · 6 comments
Open

Connected component labeling returns error on macOS M1 #49

psobolewskiPhD opened this issue Feb 13, 2022 · 6 comments

Comments

@psobolewskiPhD
Copy link
Contributor

Noticed this by accident with #48
The first Operation in the Label widget Connected component labeling results in long beachball and error on macOS 12.1, napari 0.14.0 and N-pycl-A 0.15.1 . The other Operations (including other two Connected component ones) work fine—with the exception of the duplicate voronoi-otsu noted in #48
Here's the error:


2022-02-13 11:18:14.286 | ERROR    | napari_pyclesperanto_assistant._gui._category_widget:gui_function:324 - An error has been caught in function 'gui_function', process 'MainProcess' (27274), thread 'MainThread' (4342056320):
Traceback (most recent call last):

  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/bin/napari", line 10, in <module>
    sys.exit(main())
    │   │    └ <function main at 0x12442c790>
    │   └ <built-in function exit>
    └ <module 'sys' (built-in)>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/napari/__main__.py", line 449, in main
    _run()
    └ <function _run at 0x12442c5e0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/napari/__main__.py", line 338, in _run
    run(gui_exceptions=True)
    └ <function run at 0x12480ca60>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/napari/_qt/qt_event_loop.py", line 402, in run
    app.exec_()
    │   └ <built-in method exec_>
    └ <PyQt5.QtWidgets.QApplication object at 0x124fbddc0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/backends/_qtpy/widgets.py", line 646, in _emit_data
    self._event_filter.valueChanged.emit(self._qwidget.itemData(index))
    │    │             │                 │    │        │        └ 0
    │    │             │                 │    │        └ <built-in method itemData>
    │    │             │                 │    └ <PyQt5.QtWidgets.QComboBox object at 0x13169a8b0>
    │    │             │                 └ <magicgui.backends._qtpy.widgets.ComboBox object at 0x1316eff10>
    │    │             └ <unbound PYQT_SIGNAL valueChanged(PyQt_PyObject)>
    │    └ <magicgui.backends._qtpy.widgets.EventFilter object at 0x13169af70>
    └ <magicgui.backends._qtpy.widgets.ComboBox object at 0x1316eff10>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/widgets/_bases/value_widget.py", line 57, in _on_value_change
    self.changed.emit(value)
    │    │       │    └ 'Connected component labeling (clesperanto)'
    │    │       └ <cyfunction SignalInstance.emit at 0x103049790>
    │    └ <SignalInstance 'changed' on ComboBox(value='Connected component labeling (clesperanto)', annotation=<class 'str'>, name='op_...
    └ ComboBox(value='Connected component labeling (clesperanto)', annotation=<class 'str'>, name='op_name')
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/events.py", line 85, in _run_emit_loop
    cb(*args[:max_args])
    │   │     └ 0
    │   └ ('Connected component labeling (clesperanto)',)
    └ <function ContainerWidget.insert.<locals>.<lambda> at 0x1317a4dc0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/widgets/_bases/container_widget.py", line 165, in <lambda>
    widget.changed.connect(lambda: self.changed.emit(self))
                                   │    │       │    └ <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f5089d0>, op_name: str = 'Conn...
                                   │    │       └ <cyfunction SignalInstance.emit at 0x103049790>
                                   │    └ <SignalInstance 'changed' on <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f...
                                   └ <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f5089d0>, op_name: str = 'Conn...
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/events.py", line 85, in _run_emit_loop
    cb(*args[:max_args])
    │   │     └ 0
    │   └ (<FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f5089d0>, op_name: str = 'Con...
    └ <bound method FunctionGui._on_change of <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:...
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/widgets/_function_gui.py", line 221, in _on_change
    self()
    └ <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f5089d0>, op_name: str = 'Conn...
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/magicgui/widgets/_function_gui.py", line 303, in __call__
    value = self._function(*bound.args, **bound.kwargs)
            │    │          │     │       │     └ <property object at 0x10301e130>
            │    │          │     │       └ <BoundArguments (input0=<Image layer 'Image:0' at 0x14f5089d0>, op_name='Connected component labeling (clesperanto)', x=2.0, ...
            │    │          │     └ <property object at 0x10301e0e0>
            │    │          └ <BoundArguments (input0=<Image layer 'Image:0' at 0x14f5089d0>, op_name='Connected component labeling (clesperanto)', x=2.0, ...
            │    └ <function make_gui_for_category.<locals>.gui_function at 0x16c81c1f0>
            └ <FunctionGui do_label(*, input0: napari.layers.base.base.Layer = <Image layer 'Image:0' at 0x14f5089d0>, op_name: str = 'Conn...
> File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/napari_pyclesperanto_assistant/_gui/_category_widget.py", line 324, in gui_function
    result, used_args = call_op(op_name, inputs, t_position, viewer, **kwargs)
                        │       │        │       │           │         └ {'x': 2.0, 'y': 2.0, 'z': 0.0, 'u': 0.0, 'v': 0.0, 'w': 0.0, 'a': False, 'b': False, 'c': False, 'k': '', 'l': '', 'm': ''}
                        │       │        │       │           └ Viewer(axes=Axes(visible=False, labels=True, colored=True, dashed=False, arrows=True), camera=Camera(center=(0.0, 126.5, 127....
                        │       │        │       └ None
                        │       │        └ [<Image layer 'Image:0' at 0x14f5089d0>]
                        │       └ 'Connected component labeling (clesperanto)'
                        └ <function call_op at 0x14df454c0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/napari_pyclesperanto_assistant/_gui/_category_widget.py", line 154, in call_op
    gpu_out = gpu_out.astype(int)
              │       └ <function OCLArray.astype at 0x14d91e700>
              └ cl.Array([[1, 1, 1, ..., 1, 1, 1],
                       [1, 1, 1, ..., 1, 1, 1],
                       [1, 1, 1, ..., 1, 1, 1],
                       ...,
                       [1, 1, ...
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_pycl.py", line 148, in astype
    return copy(self, copied)
           │    │     └ cl.Array([[0, 0, 0, ..., 0, 0, 0],
           │    │              [0, 0, 0, ..., 0, 0, 0],
           │    │              [0, 0, 0, ..., 0, 0, 0],
           │    │              ...,
           │    │              [0, 0, ...
           │    └ cl.Array([[1, 1, 1, ..., 1, 1, 1],
           │             [1, 1, 1, ..., 1, 1, 1],
           │             [1, 1, 1, ..., 1, 1, 1],
           │             ...,
           │             [1, 1, ...
           └ <function copy at 0x14d93c280>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_plugin_function.py", line 71, in worker_function
    return function(*bound.args, **bound.kwargs)
           │         │     │       │     └ <property object at 0x10301e130>
           │         │     │       └ <BoundArguments (source=cl.Array([[1, 1, 1, ..., 1, 1, 1],
           │         │     │                [1, 1, 1, ..., 1, 1, 1],
           │         │     │                [1, 1, 1, ..., 1, 1, 1],
           │         │     │           ...
           │         │     └ <property object at 0x10301e0e0>
           │         └ <BoundArguments (source=cl.Array([[1, 1, 1, ..., 1, 1, 1],
           │                  [1, 1, 1, ..., 1, 1, 1],
           │                  [1, 1, 1, ..., 1, 1, 1],
           │             ...
           └ <function copy at 0x14d93c1f0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier1/_copy.py", line 36, in copy
    execute(__file__, '../clij-opencl-kernels/kernels/copy_' + str(len(destination.shape)) + 'd_x.cl', 'copy_' + str(len(destination.shape)) + 'd', destination.shape, parameters)
    │       │                                                          │           │                                     │           │              │           │      └ {'dst': cl.Array([[0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │              │           │               [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │              │           │               [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │              │           │               ...,
    │       │                                                          │           │                                     │           │              │           │              ...
    │       │                                                          │           │                                     │           │              │           └ (254, 256)
    │       │                                                          │           │                                     │           │              └ cl.Array([[0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │                       [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │                       [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                     │           │                       ...,
    │       │                                                          │           │                                     │           │                       [0, 0, ...
    │       │                                                          │           │                                     │           └ (254, 256)
    │       │                                                          │           │                                     └ cl.Array([[0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                              [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                              [0, 0, 0, ..., 0, 0, 0],
    │       │                                                          │           │                                              ...,
    │       │                                                          │           │                                              [0, 0, ...
    │       │                                                          │           └ (254, 256)
    │       │                                                          └ cl.Array([[0, 0, 0, ..., 0, 0, 0],
    │       │                                                                   [0, 0, 0, ..., 0, 0, 0],
    │       │                                                                   [0, 0, 0, ..., 0, 0, 0],
    │       │                                                                   ...,
    │       │                                                                   [0, 0, ...
    │       └ '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier1/_copy.py'
    └ <function execute at 0x14d7d24c0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_execute.py", line 3, in execute
    return Backend.get_instance().get().execute(anchor, opencl_kernel_filename, kernel_name, global_size, parameters, prog, constants, image_size_independent_kernel_compilation, device)
           │       │                            │       │                       │            │            │           │     │          │                                          └ None
           │       │                            │       │                       │            │            │           │     │          └ None
           │       │                            │       │                       │            │            │           │     └ None
           │       │                            │       │                       │            │            │           └ None
           │       │                            │       │                       │            │            └ {'dst': cl.Array([[0, 0, 0, ..., 0, 0, 0],
           │       │                            │       │                       │            │                     [0, 0, 0, ..., 0, 0, 0],
           │       │                            │       │                       │            │                     [0, 0, 0, ..., 0, 0, 0],
           │       │                            │       │                       │            │                     ...,
           │       │                            │       │                       │            │                    ...
           │       │                            │       │                       │            └ (254, 256)
           │       │                            │       │                       └ 'copy_2d'
           │       │                            │       └ '../clij-opencl-kernels/kernels/copy_2d_x.cl'
           │       │                            └ '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier1/_copy.py'
           │       └ <classmethod object at 0x14d594ca0>
           └ <class 'pyclesperanto_prototype._tier0._backends.Backend'>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_opencl_backend.py", line 41, in execute
    return execute(anchor, opencl_kernel_filename, kernel_name, global_size, parameters, prog, constants, image_size_independent_kernel_compilation, device)
           │       │       │                       │            │            │           │     │          │                                          └ None
           │       │       │                       │            │            │           │     │          └ None
           │       │       │                       │            │            │           │     └ None
           │       │       │                       │            │            │           └ None
           │       │       │                       │            │            └ {'dst': cl.Array([[0, 0, 0, ..., 0, 0, 0],
           │       │       │                       │            │                     [0, 0, 0, ..., 0, 0, 0],
           │       │       │                       │            │                     [0, 0, 0, ..., 0, 0, 0],
           │       │       │                       │            │                     ...,
           │       │       │                       │            │                    ...
           │       │       │                       │            └ (254, 256)
           │       │       │                       └ 'copy_2d'
           │       │       └ '../clij-opencl-kernels/kernels/copy_2d_x.cl'
           │       └ '/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier1/_copy.py'
           └ <function execute at 0x17ea408b0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_opencl_execute.py", line 311, in execute
    prog = device.program_from_source("\n".join(defines))
           │      │                             └ ['#define MAX_ARRAY_SIZE 1000', '#define GET_IMAGE_WIDTH(image_key) image_size_ ## image_key ## _width', '#define GET_IMAGE_H...
           │      └ <functools._lru_cache_wrapper object at 0x14d8f5ae0>
           └ <Apple M1 on Platform: Apple (75 refs)>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_device.py", line 26, in program_from_source
    return OCLProgram(src_str=source, dev=self)
           │                  │           └ <Apple M1 on Platform: Apple (75 refs)>
           │                  └ '#define MAX_ARRAY_SIZE 1000\n#define GET_IMAGE_WIDTH(image_key) image_size_ ## image_key ## _width\n#define GET_IMAGE_HEIGHT...
           └ <class 'pyclesperanto_prototype._tier0._program.OCLProgram'>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyclesperanto_prototype/_tier0/_program.py", line 28, in __init__
    self.build(options=build_options)
    │    │             └ []
    │    └ <function Program.build at 0x14d8b8c10>
    └ <pyclesperanto_prototype._tier0._program.OCLProgram object at 0x16dd59ac0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyopencl/__init__.py", line 536, in build
    self._prg, was_cached = self._build_and_catch_errors(
    │    │                  │    └ <function Program._build_and_catch_errors at 0x14d8b8ca0>
    │    │                  └ <pyclesperanto_prototype._tier0._program.OCLProgram object at 0x16dd59ac0>
    │    └ None
    └ <pyclesperanto_prototype._tier0._program.OCLProgram object at 0x16dd59ac0>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyopencl/__init__.py", line 584, in _build_and_catch_errors
    raise err
          └ RuntimeError(<pyopencl._cl._ErrorRecord object at 0x16dd548b0>)

pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE

Build on <pyopencl.Device 'Apple M1' on 'Apple' at 0x1027f00>:

Compiler encountered an internal error
(options: -I /Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/lib/python3.9/site-packages/pyopencl/cl)
(source saved as /var/folders/sy/y3_x27j14cxg3_vhycs6cr_h0000gn/T/tmppdsr9h65.cl)

@haesleinhuepf
Copy link
Member

haesleinhuepf commented Feb 13, 2022

Hi @psobolewskiPhD ,

thanks for reporting! Unfortunately, I can't reproduce this issue on my M1 Mac. I guess it has something todo with other installed dependencies. Would you mind comparing your environment to mine? This is my conda list:

absl-py                   1.0.0                    pypi_0    pypi
alabaster                 0.7.12                     py_0    conda-forge
anyio                     3.5.0            py39h6e9494a_0    conda-forge
apoc                      0.6.2                     dev_0    <develop>
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.2            py39h6e9494a_2    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0           py39h89e85a6_1    conda-forge
asciitree                 0.3.3                      py_2    conda-forge
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
astunparse                1.6.3                    pypi_0    pypi
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
autopep8                  1.6.0                    pypi_0    pypi
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.10.0                   pypi_0    pypi
biapol-utilities          0.0.3                    pypi_0    pypi
black                     21.12b0            pyhd8ed1ab_0    conda-forge
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
blosc                     1.21.0               he49afe7_0    conda-forge
bokeh                     2.4.2            py39h6e9494a_0    conda-forge
brotli                    1.0.9                h0d85af4_6    conda-forge
brotli-bin                1.0.9                h0d85af4_6    conda-forge
brotlipy                  0.7.0           py39h89e85a6_1003    conda-forge
brunsli                   0.1                  h046ec9c_0    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
c-blosc2                  2.0.4                ha1a4663_1    conda-forge
ca-certificates           2021.10.8            h033912b_0    conda-forge
cachetools                5.0.0                    pypi_0    pypi
cachey                    0.2.1              pyh9f0ad1d_0    conda-forge
cellpose                  1.0.0                    pypi_0    pypi
certifi                   2021.10.8        py39h6e9494a_1    conda-forge
cffi                      1.14.6           py39hb71fe58_0    conda-forge
cfitsio                   4.0.0                hb20e66c_0    conda-forge
charls                    2.2.0                h046ec9c_0    conda-forge
charset-normalizer        2.0.10             pyhd8ed1ab_0    conda-forge
click                     7.1.2                    pypi_0    pypi
cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cryptography              36.0.1           py39h209aa08_0    conda-forge
csbdeep                   0.6.3                    pypi_0    pypi
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cytoolz                   0.11.2           py39h89e85a6_1    conda-forge
dask                      2022.1.1           pyhd8ed1ab_0    conda-forge
dask-core                 2022.1.1           pyhd8ed1ab_0    conda-forge
dask-image                2021.12.0          pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
dbus                      1.13.6               ha13b53f_2    conda-forge
debugpy                   1.5.1            py39h9fcab8e_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
distributed               2022.1.1         py39h6e9494a_0    conda-forge
docstring_parser          0.13               pyhd8ed1ab_0    conda-forge
docutils                  0.16             py39h6e9494a_3    conda-forge
entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
executing                 0.8.2              pyhd8ed1ab_0    conda-forge
expat                     2.4.3                he49afe7_0    conda-forge
fasteners                 0.16               pyhd8ed1ab_0    conda-forge
fastremap                 1.12.2                   pypi_0    pypi
flatbuffers               2.0                      pypi_0    pypi
flit-core                 3.6.0              pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.94              h10f422b_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.29.0           py39h89e85a6_0    conda-forge
freetype                  2.10.4               h4cff582_1    conda-forge
freetype-py               2.2.0              pyh9f0ad1d_0    conda-forge
fsspec                    2022.1.0           pyhd8ed1ab_0    conda-forge
future                    0.18.2                   pypi_0    pypi
gast                      0.5.3                    pypi_0    pypi
gettext                   0.19.8.1          h7937167_1005    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
gitdb                     4.0.9                    pypi_0    pypi
gitpython                 3.1.26                   pypi_0    pypi
glib                      2.68.4               he49afe7_0    conda-forge
glib-tools                2.68.4               he49afe7_0    conda-forge
google-auth               2.6.0                    pypi_0    pypi
google-auth-oauthlib      0.4.6                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
greenlet                  1.1.2                    pypi_0    pypi
grpcio                    1.43.0                   pypi_0    pypi
h5py                      3.6.0                    pypi_0    pypi
haesleinhuepf-pyqode-core 2.15.5                   pypi_0    pypi
haesleinhuepf-pyqode-python 2.15.2                   pypi_0    pypi
heapdict                  1.0.1                      py_0    conda-forge
hsluv                     5.0.2              pyh44b312d_0    conda-forge
icu                       69.1                 he49afe7_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imagecodecs               2021.11.20       py39h90d8905_1    conda-forge
imageio                   2.14.1             pyh239f2a4_0    conda-forge
imagesize                 1.3.0              pyhd8ed1ab_0    conda-forge
importlib-metadata        4.10.1           py39h6e9494a_0    conda-forge
importlib_metadata        4.10.1               hd8ed1ab_0    conda-forge
importlib_resources       5.4.0              pyhd8ed1ab_0    conda-forge
iniconfig                 1.1.1                    pypi_0    pypi
intervaltree              3.0.2                      py_0    conda-forge
ipykernel                 6.7.0            py39h71a6800_0    conda-forge
ipython                   8.0.1            py39h6e9494a_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.5                    pypi_0    pypi
jbig                      2.1               h0d85af4_2003    conda-forge
jedi                      0.18.1           py39h6e9494a_0    conda-forge
jinja2                    3.0.3              pyhd8ed1ab_0    conda-forge
joblib                    1.1.0                    pypi_0    pypi
jpeg                      9e                   h0d85af4_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                3.2.0                    pypi_0    pypi
jupyter                   1.0.0                    pypi_0    pypi
jupyter-book              0.12.1                   pypi_0    pypi
jupyter-cache             0.4.3                    pypi_0    pypi
jupyter-console           6.4.0                    pypi_0    pypi
jupyter-server-mathjax    0.2.3                    pypi_0    pypi
jupyter-sphinx            0.3.2                    pypi_0    pypi
jupyter_client            7.1.2              pyhd8ed1ab_0    conda-forge
jupyter_core              4.9.1            py39h6e9494a_1    conda-forge
jupyter_server            1.13.4             pyhd8ed1ab_0    conda-forge
jupyterlab                3.2.8              pyhd8ed1ab_0    conda-forge
jupyterlab-spellchecker   0.7.2                    pypi_0    pypi
jupyterlab-widgets        1.0.2                    pypi_0    pypi
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_server         2.10.3             pyhd8ed1ab_0    conda-forge
jupytext                  1.11.5                   pypi_0    pypi
jxrlib                    1.1                  h35c211d_2    conda-forge
keras                     2.8.0                    pypi_0    pypi
keras-preprocessing       1.1.2                    pypi_0    pypi
kiwisolver                1.3.2            py39hf018cea_1    conda-forge
krb5                      1.19.2               hcfbf3a7_3    conda-forge
latexcodec                2.0.1                    pypi_0    pypi
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      3.0                  he49afe7_0    conda-forge
libaec                    1.0.6                he49afe7_0    conda-forge
libblas                   3.9.0           13_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h0d85af4_6    conda-forge
libbrotlidec              1.0.9                h0d85af4_6    conda-forge
libbrotlienc              1.0.9                h0d85af4_6    conda-forge
libcblas                  3.9.0           13_osx64_openblas    conda-forge
libclang                  13.0.0                   pypi_0    pypi
libcurl                   7.81.0               hf45b732_0    conda-forge
libcxx                    12.0.1               habf9029_1    conda-forge
libdeflate                1.8                  h0d85af4_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.3                  h046ec9c_2    conda-forge
libgfortran               5.0.0           9_3_0_h6c81a4c_23    conda-forge
libgfortran5              9.3.0               h6c81a4c_23    conda-forge
libglib                   2.68.4               hd556434_0    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
liblapack                 3.9.0           13_osx64_openblas    conda-forge
libllvm13                 13.0.0               hd011deb_0    conda-forge
libnghttp2                1.46.0               h6f36284_0    conda-forge
libopenblas               0.3.18          openmp_h3351f45_0    conda-forge
libpng                    1.6.37               h7cec526_2    conda-forge
libpq                     14.1                 hea3049e_1    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libssh2                   1.10.0               h52ee1ee_2    conda-forge
libtiff                   4.3.0                hd146c10_2    conda-forge
libwebp-base              1.2.2                h0d85af4_1    conda-forge
libxml2                   2.9.12               h7e28ab6_1    conda-forge
libzlib                   1.2.11            h9173be1_1013    conda-forge
libzopfli                 1.0.3                h046ec9c_0    conda-forge
linkify-it-py             1.0.3                    pypi_0    pypi
llvm-openmp               12.0.1               hda6cdc1_1    conda-forge
llvmlite                  0.38.0                   pypi_0    pypi
locket                    0.2.0                      py_2    conda-forge
loguru                    0.6.0                    pypi_0    pypi
lz4-c                     1.9.3                he49afe7_1    conda-forge
magicgui                  0.3.4              pyhd8ed1ab_0    conda-forge
markdown                  3.3.6                    pypi_0    pypi
markdown-it-py            1.1.0                    pypi_0    pypi
markupsafe                2.0.1            py39h89e85a6_1    conda-forge
matplotlib-base           3.5.1            py39hb07454d_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mdit-py-plugins           0.2.8                    pypi_0    pypi
mistune                   0.8.4           py39h89e85a6_1005    conda-forge
monotonic                 1.5                        py_0    conda-forge
msgpack-python            1.0.3            py39hf018cea_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mypy_extensions           0.4.3            py39h6e9494a_4    conda-forge
mysql-common              8.0.28               h694c41f_0    conda-forge
mysql-libs                8.0.28               h115446f_0    conda-forge
myst-nb                   0.13.1                   pypi_0    pypi
myst-parser               0.15.2                   pypi_0    pypi
napari                    0.4.14                   pypi_0    pypi
napari-accelerated-pixel-and-object-classification 0.6.2                     dev_0    <develop>
napari-console            0.0.4              pyhd8ed1ab_0    conda-forge
napari-plugin-engine      0.2.0              pyhd8ed1ab_2    conda-forge
napari-pyclesperanto-assistant 0.15.1                    dev_0    <develop>
napari-script-editor      0.2.7                    pypi_0    pypi
napari-segment-blobs-and-things-with-membranes 0.2.14                   pypi_0    pypi
napari-simpleitk-image-processing 0.2.1                     dev_0    <develop>
napari-skimage-regionprops 0.2.9                    pypi_0    pypi
napari-svg                0.1.5              pyhd8ed1ab_0    conda-forge
napari-time-slicer        0.4.2                    pypi_0    pypi
napari-tools-menu         0.1.10                   pypi_0    pypi
napari-workflows          0.1.2                     dev_0    <develop>
natsort                   8.1.0                    pypi_0    pypi
nbclassic                 0.3.5              pyhd8ed1ab_0    conda-forge
nbclient                  0.5.10             pyhd8ed1ab_1    conda-forge
nbconvert                 6.4.1            py39h6e9494a_0    conda-forge
nbdime                    3.1.1                    pypi_0    pypi
nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  he49afe7_0    conda-forge
nest-asyncio              1.5.4              pyhd8ed1ab_0    conda-forge
networkx                  2.6.3              pyhd8ed1ab_1    conda-forge
notebook                  6.4.8              pyha770c72_0    conda-forge
npe2                      0.1.2              pyhd8ed1ab_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.74                 h31e2bf1_0    conda-forge
numba                     0.55.1                   pypi_0    pypi
numcodecs                 0.9.1            py39h9fcab8e_2    conda-forge
numpy                     1.21.5           py39h516c64c_0    conda-forge
numpydoc                  1.2                pyhd8ed1ab_0    conda-forge
oauthlib                  3.2.0                    pypi_0    pypi
olefile                   0.46               pyh9f0ad1d_1    conda-forge
opencv-python-headless    4.5.5.62                 pypi_0    pypi
openjpeg                  2.4.0                h6e7aa92_1    conda-forge
openssl                   1.1.1l               h0d85af4_0    conda-forge
opt-einsum                3.3.0                    pypi_0    pypi
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.0            py39h4d6be9b_0    conda-forge
pandoc                    2.17.0.1             h694c41f_1    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.0.0                    pypi_0    pypi
pims                      0.5                pyh9f0ad1d_1    conda-forge
pint                      0.18               pyhd8ed1ab_0    conda-forge
pip                       21.3.1             pyhd8ed1ab_0    conda-forge
platformdirs              2.3.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0                    pypi_0    pypi
pooch                     1.6.0                    pypi_0    pypi
prometheus_client         0.13.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.26             pyha770c72_0    conda-forge
protobuf                  3.19.4                   pypi_0    pypi
psutil                    5.9.0            py39h89e85a6_0    conda-forge
psygnal                   0.2.0            py39hf018cea_1    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
py                        1.11.0                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pybtex                    0.24.0                   pypi_0    pypi
pybtex-docutils           1.0.1                    pypi_0    pypi
pyclesperanto-prototype   0.15.0                    dev_0    <develop>
pycodestyle               2.8.0                    pypi_0    pypi
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydantic                  1.9.0            py39h89e85a6_0    conda-forge
pydata-sphinx-theme       0.7.2                    pypi_0    pypi
pyflakes                  2.4.0                    pypi_0    pypi
pygments                  2.11.2             pyhd8ed1ab_0    conda-forge
pyopencl                  2021.2.6                 pypi_0    pypi
pyopengl                  3.1.5                      py_0    conda-forge
pyopenssl                 21.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.7              pyhd8ed1ab_0    conda-forge
pyperclip                 1.8.2                    pypi_0    pypi
pyqt                      5.12.3           py39h6e9494a_8    conda-forge
pyqt-impl                 5.12.3           py39he44290a_8    conda-forge
pyqt5                     5.15.6                   pypi_0    pypi
pyqt5-qt5                 5.15.2                   pypi_0    pypi
pyqt5-sip                 12.9.0                   pypi_0    pypi
pyqtchart                 5.12             py39he44290a_8    conda-forge
pyqtwebengine             5.12.1           py39he44290a_8    conda-forge
pyrsistent                0.18.1           py39h89e85a6_0    conda-forge
pysocks                   1.7.1            py39h6e9494a_4    conda-forge
pytest                    6.2.5                    pypi_0    pypi
python                    3.9.0           h4f09611_5_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.9                      2_cp39    conda-forge
pytomlpp                  1.0.10           py39hf018cea_0    conda-forge
pytools                   2021.2.9                 pypi_0    pypi
pytz                      2021.3             pyhd8ed1ab_0    conda-forge
pywavelets                1.2.0            py39hc89836e_1    conda-forge
pyyaml                    6.0              py39h89e85a6_3    conda-forge
pyzmq                     22.3.0           py39h7fec2f1_1    conda-forge
qt                        5.12.9               h2a607e2_5    conda-forge
qtconsole                 5.2.2              pyhd8ed1ab_1    conda-forge
qtconsole-base            5.2.2              pyhd8ed1ab_1    conda-forge
qtpy                      2.0.0              pyhd8ed1ab_0    conda-forge
readline                  8.1                  h05e3726_0    conda-forge
redlionfish               0.6                      pypi_0    pypi
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1                    pypi_0    pypi
rsa                       4.8                      pypi_0    pypi
scikit-image              0.19.1           py39h4d6be9b_0    conda-forge
scikit-learn              1.0.2                    pypi_0    pypi
scipy                     1.7.3            py39h056f1c0_0    conda-forge
seaborn                   0.11.2                   pypi_0    pypi
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                59.8.0           py39h6e9494a_0    conda-forge
shellingham               1.4.0              pyh44b312d_0    conda-forge
simpleitk                 2.1.1                    pypi_0    pypi
six                       1.16.0             pyh6c4a22f_0    conda-forge
slicerator                1.0.0                      py_0    conda-forge
smmap                     5.0.0                    pypi_0    pypi
snappy                    1.1.8                hb1e8313_3    conda-forge
sniffio                   1.2.0            py39h6e9494a_2    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.1                    pypi_0    pypi
sphinx                    4.4.0              pyh6c4a22f_1    conda-forge
sphinx-book-theme         0.1.10                   pypi_0    pypi
sphinx-comments           0.0.3                    pypi_0    pypi
sphinx-copybutton         0.4.0                    pypi_0    pypi
sphinx-external-toc       0.2.3                    pypi_0    pypi
sphinx-jupyterbook-latex  0.4.6                    pypi_0    pypi
sphinx-multitoc-numbering 0.1.3                    pypi_0    pypi
sphinx-panels             0.6.0                    pypi_0    pypi
sphinx-thebe              0.0.10                   pypi_0    pypi
sphinx-togglebutton       0.2.3                    pypi_0    pypi
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-bibtex      2.2.1                    pypi_0    pypi
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_1    conda-forge
sqlalchemy                1.4.31                   pypi_0    pypi
sqlite                    3.37.0               h23a322b_0    conda-forge
stack_data                0.1.4              pyhd8ed1ab_0    conda-forge
stardist                  0.7.3                    pypi_0    pypi
superqt                   0.2.5.post1        pyhd8ed1ab_0    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
tensorboard               2.8.0                    pypi_0    pypi
tensorboard-data-server   0.6.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
tensorflow                2.8.0                    pypi_0    pypi
tensorflow-io-gcs-filesystem 0.24.0                   pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
terminado                 0.13.1           py39h6e9494a_0    conda-forge
testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
tf-estimator-nightly      2.8.0.dev2021122109          pypi_0    pypi
threadpoolctl             3.0.0                    pypi_0    pypi
tifffile                  2021.11.2          pyhd8ed1ab_0    conda-forge
tk                        8.6.11               h5dbffcc_1    conda-forge
toml                      0.10.2                   pypi_0    pypi
tomli                     1.2.2              pyhd8ed1ab_0    conda-forge
toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
torch                     1.10.2                   pypi_0    pypi
tornado                   6.1              py39h89e85a6_2    conda-forge
tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
transforms3d              0.3.1                    pypi_0    pypi
typed-ast                 1.5.2            py39h89e85a6_0    conda-forge
typer                     0.4.0              pyhd8ed1ab_0    conda-forge
typing-extensions         4.0.1                hd8ed1ab_0    conda-forge
typing_extensions         4.0.1              pyha770c72_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
uc-micro-py               1.0.1                    pypi_0    pypi
unicodedata2              14.0.0           py39h89e85a6_0    conda-forge
urllib3                   1.26.8             pyhd8ed1ab_1    conda-forge
vispy                     0.9.4            py39h7c35a4d_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.2.3              pyhd8ed1ab_0    conda-forge
werkzeug                  2.0.3                    pypi_0    pypi
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
widgetsnbextension        3.5.2                    pypi_0    pypi
wrapt                     1.13.3           py39h89e85a6_1    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
zarr                      2.10.3             pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zfp                       0.5.5                h4a89273_8    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.7.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h9173be1_1013    conda-forge
zstd                      1.5.2                h582d3a0_0    conda-forge

Thanks!

@psobolewskiPhD
Copy link
Contributor Author

Here's my conda env, all quite fresh.
Only related thing that's different is my pyopencl is newer?
pyopencl 2021.2.13 pypi_0 pypi

# Name                    Version                   Build  Channel
adwaita-icon-theme        41.0                 ha770c72_1    conda-forge
aicsimageio               4.5.2              pyhd8ed1ab_0    conda-forge
aicspylibczi              3.0.4                    pypi_0    pypi
aiohttp                   3.8.1                    pypi_0    pypi
aiosignal                 1.2.0                    pypi_0    pypi
alabaster                 0.7.12                     py_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.2            py39h2804cbe_2    conda-forge
argon2-cffi               21.3.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0                   pypi_0    pypi
asciitree                 0.3.3                      py_2    conda-forge
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2                    pypi_0    pypi
atk-1.0                   2.36.0               heb41896_4    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
autopep8                  1.6.0                    pypi_0    pypi
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
black                     22.1.0             pyhd8ed1ab_0    conda-forge
blas                      2.113                accelerate    conda-forge
blas-devel                3.9.0           13_osxarm64_accelerate    conda-forge
bleach                    4.1.0                    pypi_0    pypi
blosc                     1.21.0               h9f76cd9_0    conda-forge
bokeh                     2.4.2            py39h2804cbe_0    conda-forge
brotli                    1.0.9                h3422bc3_6    conda-forge
brotli-bin                1.0.9                h3422bc3_6    conda-forge
brotlipy                  0.7.0           py39h5161555_1003    conda-forge
brunsli                   0.1                  h9f76cd9_0    conda-forge
bzip2                     1.0.8                h3422bc3_4    conda-forge
c-ares                    1.18.1               h3422bc3_0    conda-forge
c-blosc2                  2.0.4                h0095615_1    conda-forge
ca-certificates           2021.10.8            h4653dfc_0    conda-forge
cachey                    0.2.1              pyh9f0ad1d_0    conda-forge
cairo                     1.16.0            he69dfd1_1008    conda-forge
certifi                   2021.10.8        py39h2804cbe_1    conda-forge
cffi                      1.15.0           py39h52b1de0_0    conda-forge
cfitsio                   4.0.0                h99351b2_0    conda-forge
charls                    2.2.0                h9f76cd9_0    conda-forge
charset-normalizer        2.0.11             pyhd8ed1ab_0    conda-forge
click                     8.0.3            py39h2804cbe_1    conda-forge
cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cryptography              36.0.1           py39hfb8cd70_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cytoolz                   0.11.2           py39h5161555_1    conda-forge
dask                      2022.1.1           pyhd8ed1ab_0    conda-forge
dask-core                 2022.1.1           pyhd8ed1ab_0    conda-forge
dask-image                2021.12.0          pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
debugpy                   1.5.1            py39hfb83b0d_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1                    pypi_0    pypi
distributed               2022.1.1         py39h2804cbe_0    conda-forge
dnspython                 2.2.0                    pypi_0    pypi
docstring_parser          0.13               pyhd8ed1ab_0    conda-forge
docutils                  0.17.1           py39h2804cbe_1    conda-forge
elementpath               2.0.5              pyhd8ed1ab_0    conda-forge
email-validator           1.1.3                    pypi_0    pypi
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
epoxy                     1.5.9                h3422bc3_0    conda-forge
executing                 0.8.2              pyhd8ed1ab_0    conda-forge
fasteners                 0.17.3             pyhd8ed1ab_0    conda-forge
ffmpeg                    4.3.2                ha8417bf_1    conda-forge
flake8                    4.0.1              pyhd8ed1ab_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              heb65262_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.29.1           py39h5161555_0    conda-forge
freetype                  2.10.4               h17b34a0_1    conda-forge
freetype-py               2.2.0              pyh9f0ad1d_0    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
frozenlist                1.3.0                    pypi_0    pypi
fsspec                    2022.1.0           pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.6               hff60771_0    conda-forge
gettext                   0.19.8.1          h049c9fb_1008    conda-forge
giflib                    5.2.1                h27ca646_2    conda-forge
glib-tools                2.70.2               hccf11d3_2    conda-forge
gmp                       6.2.1                h9f76cd9_0    conda-forge
gnutls                    3.6.13               h706517b_1    conda-forge
graphite2                 1.3.13            h9f76cd9_1001    conda-forge
gtk3                      3.24.31              h2dc7dc9_2    conda-forge
harfbuzz                  3.1.1                h13b3495_0    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hicolor-icon-theme        0.17                 hce30654_2    conda-forge
hsluv                     5.0.2              pyh44b312d_0    conda-forge
icu                       68.2                 hbdafb3b_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imagecodecs               2021.11.20       py39hcb02aed_1    conda-forge
imageio                   2.10.5                   pypi_0    pypi
imageio-ffmpeg            0.4.5              pyhd8ed1ab_0    conda-forge
imagesize                 1.3.0              pyhd8ed1ab_0    conda-forge
importlib-metadata        4.2.0            py39h2804cbe_0    conda-forge
importlib_metadata        4.2.0                hd8ed1ab_0    conda-forge
importlib_resources       5.4.0              pyhd8ed1ab_0    conda-forge
intervaltree              3.0.2                      py_0    conda-forge
ipykernel                 6.9.0            py39h32adebf_0    conda-forge
ipython                   8.0.1            py39h2804cbe_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.5                    pypi_0    pypi
isort                     5.10.1             pyhd8ed1ab_0    conda-forge
jbig                      2.1               h3422bc3_2003    conda-forge
jedi                      0.18.1           py39h2804cbe_0    conda-forge
jinja2                    3.0.3              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h3422bc3_0    conda-forge
jsonschema                4.4.0              pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0                    pypi_0    pypi
jupyter-console           6.4.0                    pypi_0    pypi
jupyter_client            7.1.2              pyhd8ed1ab_0    conda-forge
jupyter_core              4.9.1            py39h2804cbe_1    conda-forge
jupyterlab-pygments       0.1.2                    pypi_0    pypi
jupyterlab-widgets        1.0.2                    pypi_0    pypi
jupytext                  1.13.7                   pypi_0    pypi
jxrlib                    1.1                  h27ca646_2    conda-forge
kiwisolver                1.3.2            py39h4d2d688_1    conda-forge
krb5                      1.19.2               hd92b7a7_3    conda-forge
lame                      3.100             h27ca646_1001    conda-forge
lcms2                     2.12                 had6a04f_0    conda-forge
lerc                      3.0                  hbdafb3b_0    conda-forge
libaec                    1.0.6                hbdafb3b_0    conda-forge
libblas                   3.9.0           13_osxarm64_accelerate    conda-forge
libbrotlicommon           1.0.9                h3422bc3_6    conda-forge
libbrotlidec              1.0.9                h3422bc3_6    conda-forge
libbrotlienc              1.0.9                h3422bc3_6    conda-forge
libcblas                  3.9.0           13_osxarm64_accelerate    conda-forge
libcurl                   7.81.0               h8fe1914_0    conda-forge
libcxx                    12.0.1               h168391b_1    conda-forge
libdeflate                1.8                  h3422bc3_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h642e427_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgfortran               5.0.0.dev0      11_0_1_hf114ba7_23    conda-forge
libgfortran5              11.0.1.dev0         hf114ba7_23    conda-forge
libglib                   2.70.2               h67e64d8_2    conda-forge
libiconv                  1.16                 h642e427_0    conda-forge
libjpeg-turbo             2.1.1                h3422bc3_0    conda-forge
liblapack                 3.9.0           13_osxarm64_accelerate    conda-forge
liblapacke                3.9.0           13_osxarm64_accelerate    conda-forge
libnghttp2                1.46.0               he4cd7f6_0    conda-forge
libopenblas               0.3.18          openmp_h5dd58f0_0    conda-forge
libpng                    1.6.37               hf7e6567_2    conda-forge
libpq                     13.5                 h8bb6238_1    conda-forge
librsvg                   2.52.5               h957afdb_1    conda-forge
libsodium                 1.0.18               h27ca646_1    conda-forge
libssh2                   1.10.0               hb80f160_2    conda-forge
libtiff                   4.3.0                h74060c4_2    conda-forge
libwebp                   1.2.2                h0d20362_0    conda-forge
libwebp-base              1.2.2                h3422bc3_1    conda-forge
libxcb                    1.13              h9b22ae9_1004    conda-forge
libxml2                   2.9.12               h538f51a_0    conda-forge
libxslt                   1.1.33               hd2240da_2    conda-forge
libzlib                   1.2.11            hee7b306_1013    conda-forge
libzopfli                 1.0.3                h9f76cd9_0    conda-forge
llvm-openmp               12.0.1               hf3c4609_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
loguru                    0.6.0                    pypi_0    pypi
lxml                      4.7.1            py39h3757d6e_0    conda-forge
lz4-c                     1.9.3                hbdafb3b_1    conda-forge
magicgui                  0.3.4              pyhd8ed1ab_0    conda-forge
markdown-it-py            1.1.0                    pypi_0    pypi
markupsafe                2.0.1            py39h5161555_1    conda-forge
matplotlib-base           3.5.1            py39h5aa4fe7_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mdit-py-plugins           0.3.0                    pypi_0    pypi
mistune                   0.8.4                    pypi_0    pypi
mrc                       0.2.0                    pypi_0    pypi
msgpack-python            1.0.3            py39h4d2d688_0    conda-forge
multidict                 6.0.2                    pypi_0    pypi
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mypy_extensions           0.4.3            py39h2804cbe_4    conda-forge
mysql-common              8.0.28               hce30654_0    conda-forge
mysql-libs                8.0.28               h577abee_0    conda-forge
napari                    0.4.14             pyhd8ed1ab_0    conda-forge
napari-aicsimageio        0.4.1                    pypi_0    pypi
napari-console            0.0.4              pyhd8ed1ab_0    conda-forge
napari-plugin-engine      0.2.0              pyhd8ed1ab_2    conda-forge
napari-pyclesperanto-assistant 0.15.1                   pypi_0    pypi
napari-skimage-regionprops 0.2.9                    pypi_0    pypi
napari-svg                0.1.5              pyhd8ed1ab_0    conda-forge
napari-time-slicer        0.4.3                    pypi_0    pypi
napari-tools-menu         0.1.10                   pypi_0    pypi
napari-workflows          0.1.5                    pypi_0    pypi
nbclient                  0.5.10                   pypi_0    pypi
nbconvert                 6.4.2                    pypi_0    pypi
nbformat                  5.1.3                    pypi_0    pypi
ncurses                   6.3                  hc470f4d_0    conda-forge
nd2                       0.1.4                    pypi_0    pypi
nest-asyncio              1.5.4              pyhd8ed1ab_0    conda-forge
nettle                    3.6                  hc6a1b29_0    conda-forge
networkx                  2.6.3              pyhd8ed1ab_1    conda-forge
notebook                  6.4.8                    pypi_0    pypi
npe2                      0.1.2              pyhd8ed1ab_0    conda-forge
nspr                      4.32                 hbdafb3b_1    conda-forge
nss                       3.74                 h353d031_0    conda-forge
numcodecs                 0.9.1            py39hfb83b0d_2    conda-forge
numpy                     1.22.2           py39h61a45d2_0    conda-forge
numpydoc                  1.2                pyhd8ed1ab_0    conda-forge
ome-types                 0.2.9              pyhd8ed1ab_0    conda-forge
openblas                  0.3.18          openmp_h3b88efd_0    conda-forge
openh264                  2.1.1                habe5f53_0    conda-forge
openjpeg                  2.4.0                h062765e_1    conda-forge
openssl                   1.1.1l               h3422bc3_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.0            py39h7f752ed_0    conda-forge
pandocfilters             1.5.0                    pypi_0    pypi
pango                     1.48.10              h26a1e14_2    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 hbdafb3b_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    8.4.0                    pypi_0    pypi
pims                      0.5                pyh9f0ad1d_1    conda-forge
pint                      0.18               pyhd8ed1ab_0    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h27ca646_0    conda-forge
platformdirs              2.4.1              pyhd8ed1ab_1    conda-forge
pooch                     1.6.0              pyhd8ed1ab_0    conda-forge
prometheus-client         0.13.1                   pypi_0    pypi
prompt-toolkit            3.0.26             pyha770c72_0    conda-forge
psutil                    5.9.0            py39h5161555_0    conda-forge
psygnal                   0.2.0            py39h4d2d688_1    conda-forge
pthread-stubs             0.4               h27ca646_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyclesperanto-prototype   0.15.0                   pypi_0    pypi
pycodestyle               2.8.0              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydantic                  1.9.0            py39h5161555_0    conda-forge
pyflakes                  2.4.0              pyhd8ed1ab_0    conda-forge
pygments                  2.11.2             pyhd8ed1ab_0    conda-forge
pyopencl                  2021.2.13                pypi_0    pypi
pyopengl                  3.1.5                      py_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.7              pyhd8ed1ab_0    conda-forge
pyperclip                 1.8.2                    pypi_0    pypi
pyqt                      5.15.4           py39h70deae4_1    andfoy
pyqt5-sip                 12.9.0           py39h70deae4_1    andfoy
pyrsistent                0.18.1           py39h5161555_0    conda-forge
pysocks                   1.7.1            py39h2804cbe_4    conda-forge
python                    3.9.10          hd16f9c5_2_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.9                      2_cp39    conda-forge
pytomlpp                  1.0.10           py39h4d2d688_0    conda-forge
pytools                   2021.2.9                 pypi_0    pypi
pytz                      2021.3             pyhd8ed1ab_0    conda-forge
pyvkfft                   2022.1                   pypi_0    pypi
pywavelets                1.2.0            py39h20ef057_1    conda-forge
pyyaml                    6.0              py39h5161555_3    conda-forge
pyzmq                     22.3.0           py39h02c6a76_1    conda-forge
qt                        5.15.2               h70deae4_6    andfoy
qtconsole                 5.2.2              pyhd8ed1ab_1    conda-forge
qtconsole-base            5.2.2              pyhd8ed1ab_1    conda-forge
qtpy                      2.0.1              pyhd8ed1ab_0    conda-forge
readlif                   0.6.5                    pypi_0    pypi
readline                  8.1                  hedafd6a_0    conda-forge
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
scikit-image              0.19.1           py39h7f752ed_0    conda-forge
scipy                     1.8.0            py39h5060c3b_1    conda-forge
send2trash                1.8.0                    pypi_0    pypi
setuptools                59.8.0           py39h2804cbe_0    conda-forge
shellingham               1.4.0              pyh44b312d_0    conda-forge
sip                       6.1.0            py39h8a0c2ca_2    andfoy
six                       1.16.0             pyh6c4a22f_0    conda-forge
slicerator                1.0.0                      py_0    conda-forge
snappy                    1.1.8                hc88da5d_3    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
sphinx                    4.3.2              pyh6c4a22f_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_1    conda-forge
sqlite                    3.37.0               h72a2b83_0    conda-forge
stack_data                0.1.4              pyhd8ed1ab_0    conda-forge
superqt                   0.2.5.post1        pyhd8ed1ab_0    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
terminado                 0.13.1                   pypi_0    pypi
testpath                  0.5.0                    pypi_0    pypi
tifffile                  2022.2.2           pyhd8ed1ab_0    conda-forge
tk                        8.6.11               he1e0b03_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py39h5161555_2    conda-forge
tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
transforms3d              0.3.1                    pypi_0    pypi
typed-ast                 1.5.2            py39h5161555_0    conda-forge
typer                     0.4.0              pyhd8ed1ab_0    conda-forge
typing-extensions         4.0.1                hd8ed1ab_0    conda-forge
typing_extensions         4.0.1              pyha770c72_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
unicodedata2              14.0.0           py39h5161555_0    conda-forge
urllib3                   1.26.8             pyhd8ed1ab_1    conda-forge
vispy                     0.9.6            py39h5861bad_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                    pypi_0    pypi
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
widgetsnbextension        3.5.2                    pypi_0    pypi
wrapt                     1.13.3           py39h5161555_1    conda-forge
wurlitzer                 3.0.2                    pypi_0    pypi
x264                      1!161.3030           h3422bc3_1    conda-forge
xarray                    0.21.1             pyhd8ed1ab_0    conda-forge
xmlschema                 1.4.1              pyhd8ed1ab_0    conda-forge
xorg-libxau               1.0.9                h27ca646_0    conda-forge
xorg-libxdmcp             1.1.3                h27ca646_0    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yarl                      1.7.2                    pypi_0    pypi
zarr                      2.11.0             pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                hbdafb3b_1    conda-forge
zfp                       0.5.5                hcfdfaf5_8    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.7.0              pyhd8ed1ab_1    conda-forge
zlib                      1.2.11            hee7b306_1013    conda-forge
zstd                      1.5.2                h861e0a7_0    conda-forge

BTW, im curious about your pyqt5 and tensorflow 2.8 from pypi--is your M1 env an x86 rosetta one? That would be a pretty big difference from my arm64 env.

@haesleinhuepf
Copy link
Member

haesleinhuepf commented Feb 13, 2022

-is your M1 env an x86 rosetta one?

How can I find that out?

@psobolewskiPhD
Copy link
Contributor Author

psobolewskiPhD commented Feb 13, 2022

You can use lipo -info on your python binary.

╰─ which python                                                   (napari-CL) ─╯
/Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/bin/python
╭─ ~ ···································································· ✔ ─╮
╰─ lipo -info /Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/bin/python

Non-fat file: /Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL/bin/python is architecture: arm64

Is your conda from conda-forge or anaconda? the latter is x86 only I believe. The former has arm64 (and is endorsed by Apple).

conda info:

 active environment : napari-CL
    active env location : /Users/piotrsobolewski/Dev/miniforge3/envs/napari-CL
            shell level : 2
       user config file : /Users/piotrsobolewski/.condarc
 populated config files : /Users/piotrsobolewski/Dev/miniforge3/.condarc
                          /Users/piotrsobolewski/.condarc
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.10.2.final.0
       virtual packages : __osx=12.1=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/piotrsobolewski/Dev/miniforge3  (writable)
      conda av data dir : /Users/piotrsobolewski/Dev/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/piotrsobolewski/Dev/miniforge3/pkgs
                          /Users/piotrsobolewski/.conda/pkgs
       envs directories : /Users/piotrsobolewski/Dev/miniforge3/envs
                          /Users/piotrsobolewski/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.11.0 requests/2.27.1 CPython/3.10.2 Darwin/21.2.0 OSX/12.1
                UID:GID : 501:20
             netrc file : None
           offline mode : False

@haesleinhuepf
Copy link
Member

haesleinhuepf commented Feb 13, 2022

You can use lipo -info on your python binary.

Non-fat file: /Users/haase/opt/anaconda3/envs/bio_39/bin/python is architecture: x86_64

I'm not sure how to proceed from here. My experience with rosetta and arm is limited.

@psobolewskiPhD
Copy link
Contributor Author

So that confirms you're using x86 python env from anaconda, so if you're on an M1 mac it's running in emulation via so-called Rosetta2. This would suggest the issue I'm experiencing in my native arm64 env may be related to architecture differences between x86 and arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants