When including from ipywidgets import interact and using that widget, as seen in e.g. the visualization chapter of tpv13.ipynb, we get the following error:
Failed to load model class 'CheckboxModel' from module '@jupyter-widgets/controls'
Error: Module @jupyter-widgets/controls, version ^1.5.0 is not registered, however, 2.0.0 is
This is fixed with a higher ipywidgets version. At first i tried ipywidgets==7.6.5 , since a similar issue is described here.
Ultimately I used the 8.0.4 version to get the widget to run properly, however i didn't test whether the issue is resolved with just ipywidgets==8.0.0 instead.
When including
from ipywidgets import interact
and using that widget, as seen in e.g. the visualization chapter of tpv13.ipynb, we get the following error:This is fixed with a higher ipywidgets version. At first i tried
ipywidgets==7.6.5
, since a similar issue is described here. Ultimately I used the8.0.4
version to get the widget to run properly, however i didn't test whether the issue is resolved with justipywidgets==8.0.0
instead.