SeisSol / Training

BSD 3-Clause "New" or "Revised" License
11 stars 11 forks source link

Update ipywidgets version #30

Closed montrie closed 1 year ago

montrie commented 1 year ago

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.