zakandrewking / escher

Build, share, and embed visualizations of metabolic pathways.
https://escher.github.io
Other
210 stars 78 forks source link

Is the Escher widget compatible with JupyterLab 3? #348

Open danolson1 opened 3 years ago

danolson1 commented 3 years ago

I can get the Escher widget to display correctly in JupyterLab v 2.2.6, but not in v. 3.0.11. In that version, I get an error message "Error displaying widget: model not found."

Has anyone else gotten the Escher widget to work in JupyterLab v3? Is this a known issue?

sorenwacker commented 3 years ago

Same problem with JupyterLab 3.0.14

parsanayyara commented 3 years ago

same problem with Jupyter 3.0.16!! @danolson1 did you somehow manage to fix the issue in v. 3? or did you end up using v 2.2.6?

danolson1 commented 3 years ago

I set up an environment with jupyterlab 2.2.6 for Escher work

-Dan

On Tue, Jul 20, 2021, 7:47 AM parsanayyara @.***> wrote:

same problem with Jupyter 3.0.16!! @danolson1 https://github.com/danolson1 did you somehow manage to fix the issue in v. 3? or did you end up using v 2.2.6?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zakandrewking/escher/issues/348#issuecomment-883328007, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4ACFHHPLTEYZLK4XDG4LTYVO6RANCNFSM42UEFHHA .

parsanayyara commented 3 years ago

Ok, just tried using 2.2.6 instead. widget still not showing up, did I miss anything in my code? - I'm new to escher and jupyter, would really appreciate some help :)

image

danolson1 commented 3 years ago

There are a lot of possible problems. I teach a Metabolic Engineering class to graduate students at Dartmouth College. I've attached the MS Word document that I use to help them get their environments set up as well as a Conda environment file. Give that a try and see how it goes.

-Dan

On Tue, Jul 20, 2021 at 8:48 AM parsanayyara @.***> wrote:

Ok, just tried using 2.2.6 instead. widget still not showing up, did I miss anything in my code? - I'm new to escher and jupyter, would really appreciate some help :)

[image: image] https://user-images.githubusercontent.com/77234398/126326737-df2ec48c-cbb4-4f90-8e06-3ba367a35d95.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zakandrewking/escher/issues/348#issuecomment-883365540, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK4ACHUYHNAYQFREDD7KMTTYVWDTANCNFSM42UEFHHA .

parsanayyara commented 3 years ago

That would be really helpful! Thank you so much. Although I can't seem to find the attachment.. @danolson1

danolson1 commented 3 years ago

me21_v5.zip See if this works.

parsanayyara commented 3 years ago

Yep, it works for me! I think the problem was probably in the conda set up. I seriously can't thank you enough!

meono commented 2 years ago

thanks for the help. i've been struggling with it today after some jupyter updates. I aslo had to install @jupyter-widgets/base before escher extension (otherwise, it wouldn't build) and reinstall @jupyter-widgets/jupyterlab-manager after escher extension.

Bagzik commented 1 month ago

Hi I am trying to set up per @danolson1 solution but the Jupyter lab build is failing, and the instructions do not work anymore. How can I set up an environment for escher in 2024?

parsanayyara commented 1 month ago

Still works for me. How is jupyter lab failing?