-
Notifications
You must be signed in to change notification settings - Fork 4
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
Installation in napari on windows fails #14
Comments
@dlesmesl can you please check this issue and help Robert figuring out what the problem is? |
Hello @haesleinhuepf, did you already install yapic in the virtual environment where you installed napari?
Once you have yapic installed in the same environment where napari is, you should be able to install the prediction plugin. Please let me know if you have questions! |
Hey @dlesmesl , thanks for your feedback! I just tried by copy-pasting "tensorflow-gpu==2.4.1" in the plugin installer dialog of napari. Reminder: I'm working with the napari-app. It's not called from command line. It starts via Windows start-menu. Afterwards, I also installed If I install tensorflow and yapic from my command line within a conda environment using pip install ..., it works though in napari! Thus, feel free to close this issue. But I'm curious: Do you have an idea why it doesn't work via the napari-plugin-installer? Thanks! Best,
|
@haesleinhuepf you don't need to install @dlesmesl The issue seems related to how windows reads the setup file. It seems that in the setup file, it should be looking for There is a similar issue I found for @haesleinhuepf can you try to create a fresh conda environment for napari with Let us know if the bug still persists. |
@haesleinhuepf I just noticed that you're using napari bundled app and not via conda. In my experience, the bundled app is a bit buggy (at least this was the case two months ago). I had gotten several complaints with plugin installations which were rectified when napari was installed via anaconda. Perhaps this is sufficient. Let us know. Once you install anaconda on your system, do following in anaconda bash prompt (search for it in start menu): conda create -n napari-env python=3.8
conda activate napari-env
pip install "napari[all]"
napari That will launch Let me know if this solves the issue. |
@pranjaldhole Thanks for the clarification! I just recap again over the plugin setup and you're right, in theory it should install yapic on the way. As you said, it might be because of how python is installed, it's important to keep in mind that yapic is supported on python 3.8 so in any case the python version is 3.9 (which supports napari), it might create a conflict to install yapic. On the other hand, I wanted to remind @haesleinhuepf that the napari installer dialog can only install napari plugins, and yapic itself is not a napari plugin, it's an independent software so that's why it could only be installed in command line (although in this specific case it shouldn't be necessary because it's a requirement of our plugin as pranjal said). |
Hi all,
I was just trying to install napari-yapic-prediction in my napari (the Windows-app) and it didn't work. I think this error tells why:
Futhermore, that's my napari info:
Let me know if I can help fixing/testing the issue!
Best,
Robert
The text was updated successfully, but these errors were encountered: