In [1]: from dask.distributed import LocalCluster
In [2]: cluster = LocalCluster()
In [3]: cluster
Out[3]: Tab(children=(HTML(value='<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-mod-trusted jp-OutputArea-outpu…
Some relevant versions:
ipython 8.1.1
distributed 2022.2.0
ipywidgets 7.6.5
Either of the following make the cluster repr go back to what it should be:
- uninstalling ipywidgets
- downgrading to ipython 7
This is the relevant change going from ipython 7 to 8: ipython/ipython#12315. It looks like ipython is attempting to render the widget repr, which doesn't make sense. I don't know whether this is something dask should fix, or if the "real" fix is further upstream in ipython.
Some relevant versions:
Either of the following make the cluster repr go back to what it should be:
This is the relevant change going from ipython 7 to 8: ipython/ipython#12315. It looks like ipython is attempting to render the widget repr, which doesn't make sense. I don't know whether this is something dask should fix, or if the "real" fix is further upstream in ipython.