When I use jupyter to run code: slicernb. ViewInteractiveWidget(),Widget failed to load and reported an error Error displaying widget: model not found
and 3d slicer shows error
[I 2023-05-28 16:55:56.680 ServerApp] Connecting to kernel 24772f77-eeac-4d90-a1e0-75d06a4edda1.
ERROR: received bad message: No such comm target registered: jupyter.widget.control
Message type: comm_open
ERROR: received bad message: No such comm registered: 14c86747-6042-41dd-9429-b199dfe5a98a
Message type: comm_msg
Try disable anti-virus programs if u have any. Control environmental path and check python path. Maybe your jupyter libraries were not installed on your path same as comm targets of Slicer. If u had not added slicer/bin file path to environments please do and try.
Keep us informed.
Good Luck
I’m encountering the same problem. This happens when run the “01_Data_loading_and_display.ipynb” - " Dynamic views". Adding slicer/bin file path to environments doesn’t solve the problem. I’m using windows and slicer 5.2.2