InsightSoftwareConsortium/itkwidgets

Failed to import 'itkwidgets'

donny8 opened this issue · 1 comments

Hello
I tried from itkwidgets import view , but error occurred as follows.

" AttributeError: type object 'DataImage' has no attribute '_instance_inits' "
image

Using pip freeze, I checked my itkwidgets version is 0.25.2.
image

I am currently using VisualStudioCode, and still cannot import the package on the JupyterLab also.
Is there any idea how to fix it?

Thanks

#613 (comment)
Following the comment, I re-installed the package using the command pip install 'itkwidgets[all]>=1.0a16' ,
and then suddenly the error is solved.
Thank you