Course preparation#

Before attending the course, please install mambaforge on your computer as explained in this blog post.

If you already have some conda or anaconda installation on your computer, please install mambaforge anyway as explained in the blog post linked above.

Furthermore, please install devbio-napari into a fresh conda environment, e.g. using this command:

mamba create --name devbio-napari-env python=3.9 devbio-napari pyqt -c conda-forge

When you are done, you can test your setup by executing these commands from the command line:

conda activate devbio-napari-env

naparia

After Napari opens, click the menu File > Open Samples > clEsperanto > blobs (from ImageJ). In the Panel on the right click on the Label button. If Napari then looks like this, you are ready to go:

img.png

Troubleshooting: DLL load failed#

In case of error messages such as this one:

[...] _get_win_folder_with_pywin32
from win32com.shell import shellcon, shell
ImportError: DLL load failed while importing shell: The specified procedure could not be found.

Try this command, within the base environment:

conda activate base

pip install --upgrade pywin32==228

Source

Troubleshooting: Graphics cards drivers#

In case error messages contains “ImportError: DLL load failed while importing cl: The specified procedure could not be found” see also or “”clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR”, please install recent drivers for your graphics card and/or OpenCL device. Select the right driver source depending on your hardware from this list:

Sometimes, mac-users need to install this:

mamba install -c conda-forge ocl_icd_wrapper_apple

Sometimes, linux users need to install this:

mamba install -c conda-forge ocl-icd-system

In case installation didn’t work in the first attempt, you may have to call this command line to reset the napari configuration:

napari --reset

Online support#

In case you run into any trouble while installing software, please create a thread on https://image.sc and tag @haesleinhuepf