ipycytoscape: CytoscapeWidget not rendering

Hi,

I’m running the file HTML interaction with graph.ipynb inside jupyter lab but my exit from the line cytoscapeobj it is as below in the figure. What am I doing wrong?

image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 30

Most upvoted comments

Hi @yaacovNaNachRabbeinu I’ve repeated your steps and can’t reproduce this error. The only difference is that I didn’t specify -c Ananconda as a channel. Maybe it’s pulling some packages out of anaconda that don’t interact well with the conda forge ones? Really can’t think of anything else. Please try again but this time specifying only the -c conda-forge command.

Now it worked, the point is that I didn’t really do conda activate cytoscape. Although I also think to follow your advice and avoid using -c anaconda. Thank you very much, I am closing the issue as resolved, if you allow me. @marimeireles and @ianhi you were amazing! Thank*^2xD!

oops sorry. Need o specify jlab =2.

conda create -n cytoscape -c conda-forge -c anaconda python=3 mamba
conda activate cytoscape
mamba install -c conda-forge nodejs ipycytoscape jupyterlab=2
jupyter labextension install @jupyter-widgets/jupyterlab-manager@2.0

I’m working on releasing jlab3 support right now, so hopefully that will be the miracle cure 😃