widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.94k stars 234 forks source link

type object 'DataImage' has no attribute '_instance_inits' when importing ipyvolume #431

Open matemato opened 1 year ago

matemato commented 1 year ago

I use visual studio code for jupyter and when I try to import ipyvolume I get the following error:

type object 'DataImage' has no attribute '_instance_inits'.

image

Thanks for your time.

mansouralawi commented 1 year ago

Facing the same issue too.

maartenbreddels commented 1 year ago

which version of traitlets do you have?

Xarthisius commented 1 year ago

I found this at random while searching for this exact error. FWIW the workaround is installing ipydatawidgets<4.3.3.

See https://github.com/vidartf/ipydatawidgets/issues/57