Closed hinerm closed 17 hours ago
This issue isn't specific to napari-imagej, as it can be repeated with a smaller MVCE:
mamba env create -n tmp -c conda-forge pyimagej
import imagej; ij = imagej.init()
Error occurred during initialization of VM
Could not find agent library instrument on the library path, with error: Can't find dependent libraries
Module java.instrument may be missing from runtime image.
This is likely a fix upstream in scyjava?
cc @ctrueden @elevans
@gselzer pointed out this is a reported issue in Jpype. It can be reproduced with import jpype; jpype.startJVM()
.
If I do a napari-imagej install from scratch with
mamba create -n napari-imagej napari-imagej
I currently getjpype1 1.5.1
.When starting up
napari-imagej
in this environment,napari
hard crashes with this message on the command prompt:Rolling back to
jpype1 1.5.0
works as expected.