Defense-Circuits-Lab / findmycells

An end-to-end bioimage analysis pipeline with state-of-the-art tools for non-coding experts
https://defense-circuits-lab.github.io/findmycells/
GNU General Public License v3.0
2 stars 1 forks source link

Gui not being displayed #42

Closed NataliaFavila closed 9 months ago

NataliaFavila commented 9 months ago

Dear team,

I am having issues deploying the gui from findmycells. I am getting the following error message:

Screenshot 2023-12-07 at 12 33 22

I am using python version 3.10.12 and ipywidgets version 7.6.5

Any ideas what could be wrong?

Thank you! Natalia

KonKob commented 9 months ago

Dear Natalia,

Unfortunately I was not able to reproduce the error. Which Jupyter notebook version did you use? I would recommend searching stackoverflow, as it seems to be an issue related to the interaction of ipywidgets and Jupyter notebook. Alternatively you can run findmcells on Google Colab.

Let me know, if you find a solution!

NataliaFavila commented 9 months ago

Hello, thank yo for replying! I have managed to solve it. So first I notice that for some reason inside the environment the jupypter widget extension was not enable:

Screenshot 2023-12-08 at 12 04 14

To solve it I ran the following two lines of command:

conda install -n base -c conda-forge widgetsnbextension conda install -n findmycells -c conda-forge ipywidgets

And now the widgets extension is enable and I can launch the gui from a jupyter notebook. This happened to me in several computers where I tried to install it, and the solution worked both in mac and windows.

Screenshot 2023-12-08 at 12 07 35