-
Notifications
You must be signed in to change notification settings - Fork 8
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
opencv not found after installation via update site #11
Comments
Hi there, The problematic import statement is the following one : MultiTemplateMatching-Fiji/Fiji.app/jars/Lib/Template_Matching/MatchTemplate_Module.py Line 25 in 53437bb
To reproduce the issue, I believe activating IJ-OpenCV and running this line in the script editor, selecting python as language should trigger a similar error. I dont have a solution, but I think it might be due to the operating system. Can you first check that you have all these jars in the subfolder jars of your Fiji installation ? If yes, maybe try moving all these packages out of the jars directory, except for the |
Hi, |
Yes I have. but it is a .dylib file (and actually it's a symbolic link pointing to another directory in the cache). Here's the content of the directory
|
hmm not sure what is going wrong there, maybe some permission issue on the directory ? Eventually you can try the next version of these dependencies, maybe it was fixed by then. It's a bit tedious you have to download the packages manually from the link below, clicking the market artefact then download button on the right(see screencapture). So opencv Same for JavaCV (take the matching version, so here it would be 1.4.3) and javacpp Otherwise it can be worse searching through (the numerous) issues of javacpp |
ok, thanks a lot for your help. I have just tried removing the cache directory for now but it didn't change anything |
Hi,
I have followed the installation procedure via the Fiji updater.
I can see that IJ-opencv and multi-template-matching are installed (as they appear in the plugins dropdown menu).
However, when I run the Template Matching Image function, I have an error saying that the OpenCV dependencies are missing and the following error is raised:
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.opencv_core
System:
macOS 12.6.3
Fiji 2.9.0/1.53t
The text was updated successfully, but these errors were encountered: