-
Notifications
You must be signed in to change notification settings - Fork 81
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
pyimagej image.init() FileNotFoundError: [Errno 2] No such file or directory: ~.m2/repository/io/scif/scifio-labeling/0.3.1/scifio-labeling-0.3.1.jar #278
Comments
@benwilks Sorry for the slow reply. Something went sideways trying to download the scifio-labeling library from Maven, and then when PyImageJ (via jgo) tried to include it in the environment, it didn't work because the With your pyimagej environment active, you can try to run:
We want to see where the local But you know, now that I wrote all this out, it actually might be something else going wrong: is it possible that Docker does not like the attempt to hard-link? From your log above, the attempt is:
which only works when the source and destination are on the same physical disk partition. Maybe Docker does not like hard links in general? I'm not sure, but you can try adding the following configuration step to your script: echo "[settings]" >> ~/.jgorc
echo "links = soft" >> ~/.jgorc which will change jgo's preferred behavior from hard links ( Happy to help advise further if you are still stuck. Let me know whether any of the above ideas enable any progress. |
One other thing: I just stumbled over #280, which is likely to bite you right now since you are also trying to build a wrapped local Fiji installation. In the meantime, you might want to consider using |
Finally, if you have sufficient Python programming experience, and you are able to figure this out, it would be awesome if you could think about how to improve the |
Hi,
I'm having trouble running pyimagej image.init() installed with conda/mamba in a docker container.
Importing imagej works but when i run:
ij = imagej.init(os.path.join(base_dir, 'Fiji.app'), mode='headless')
I get the following error related to
Running ImageJ doctor doesn't show any problems
import imagej.doctor imagej.doctor.checkup()
The text was updated successfully, but these errors were encountered: