简体   繁体   中英

Exception during Fiji/ImageJ launching from Python

I want to write some code in Python that will be used for manipulating data in Fiji. I followed the instructions to install the library "imagej" so that I can access Fiji via Anaconda-Python. This is how the two lines look like:

import imagej
ij = imagej.init('C:\Program Files\Fiji\Fiji.app')

However, when I run these two lines the following error shows:

JavaException: JVM exception occurred: net/imagej/updater/UpdateService

Apparently Python is trying to access Fiji Updater but it cannot (that's what I understand...) How can I run Fiji correctly without such an error? Is there any way to disable this?

I'm no expert, and actually have no experience with interfacing via Python, but my best guess is to try turning off "check for update on start" to see if that changes anything. It may be that Python is successfully getting FIJI to run, but the first thing FIJI needs is for you to tell it whether you want to update, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM