Ipycytoscape is not displayed

Hi
I work with JupyterLab and draw network structures with ipycytoscape. It works fine in JupyterLab, but not in conjunction with Panel.
Since I’m just starting to work with Panel, I’m grateful for hints or tips to find the error. It could be a version conflict or a settings error.
Thanks very much

Hi @Weed

I tried the example below

import panel as pn
from ipycytoscape import CytoscapeWidget
import networkx as nx
pn.extension("ipywidgets")


G = nx.complete_graph(5)
cyto = CytoscapeWidget()
cyto.graph.add_graph_from_networkx(G)

pn.pane.IPyWidget(cyto).servable()

What I can see is that there are errors in the browser console.

I’ve reported it as a bug here

Hi @Marc
many thanks for your response. I completely reinstalled anaconda and updated all libraries and extensions. In the hope that I’ll have success with ipycytoscape and panel.
Since, I am no longer able to start ipycytoscape successfully.

Here are my current versions.

JupyterLab v3.4.4
C:\Users\alois\anaconda3\share\jupyter\labextensions

  • jupyter-cytoscape v1.3.3 enabled ok

  • jupyterlab-plotly v5.9.0 enabled ok

  • @jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)

  • @pyviz/jupyterlab_pyviz v2.0.2 enabled ok (python, pyviz_comms)

  • Other labextensions (built into JupyterLab)
    app dir: C:\Users\alois\anaconda3\share\jupyter\lab

Which versions are you running?

The following error message is displayed in the browser console.

I’m using

ipycytoscape 1.3.3
plotly 5.11.0
jupyterlab 3.6.1
pyviz-comms 2.2.1

I see a different error in the console:

Failed to load view class 'ErrorWidgetView' from module '@jupyter-widgets/base'
Error: No version of module @jupyter-widgets/base is registered