I have a problem with ViewInteractiveWidget method. It works fine when I launch jupyter server within Slicer, but when I use an external jupyter server it just shows the empty output cell without any rendering. No error message is displayed (neither in the notebook nor Slicer). Do you have any suggestions on what might went wrong? I tied it with Slicer 4.11.2 and 4.13.0 (2020-12-07) with the same result.
You need to install the prerequisite Python packages in the external Jupyter server. I’ve added more details here: https://github.com/Slicer/SlicerJupyter/blob/master/README.md#using-external-jupyter-server
thank you very much for the reply. I checked it, and it seems I have installed all required prerequisite Python packages. The results is unfortunately as follows:
Meanwhile, I noticed that there is probably sth wrong with my nbextensions configuration. I will appreciate any other suggestions on what else should I check to resolve the problem.
Have a nice day,
Have you installed pycanvas, etc. in your external Python environment (where you run the jupyter server)? Check if you get any errors in either the notebook server or in Slicer.
I have installed all what is installed in the code: https://github.com/Slicer/SlicerJupyter/blob/master/JupyterNotebooks/JupyterNotebooks.py, lines 53 - 55. Unfortunately I got the described effect. Now I removed all extensions along with Slicer and try the clean installation. I hope I am able to identify what went wrong.