You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue with itk 5.3.0 which prevents me from using itkwidgets (it fails at import), as there is a check in place which fails because itk attribute __version__ does not exist:
$ import itkwidgets
...
File /opt/homebrew/Caskroom/miniconda/base/envs/ai_med/lib/python3.9/site-packages/itkwidgets/integrations/itk.py:8
6 import itk
7 if not hasattr(itk, '__version__') or version.parse(itk.__version__) < version.parse('5.3.0'):
----> 8 raise RuntimeError('itk 5.3 or newer is required. `pip install itk>=5.3.0`')
9 HAVE_ITK = True
10 except ImportError:
RuntimeError: itk 5.3 or newer is required. `pip install itk>=5.3.0`
Upon investigating, this looks like an itkwidgets issue that seems to break itk.__version__ attribute upon installation.
I'm on macOS 13.2.1 (M1), and thus cannot install itk or itkwidgets through conda.
Hi,
I'm having an issue with
itk 5.3.0
which prevents me from usingitkwidgets
(it fails at import), as there is a check in place which fails becauseitk
attribute__version__
does not exist:Upon investigating, this looks like an
itkwidgets
issue that seems to breakitk.__version__
attribute upon installation.I'm on macOS 13.2.1 (M1), and thus cannot install
itk
oritkwidgets
throughconda
.Reproducible environment:
Let's try at this point in the terminal:
Now let's install
itkwidgets
(here version0.32.6
):And check again in the Python interpreter:
Uninstalling
itkwidgets
throughpip uninstall itkwidgets
does not solve this at this point.I've tried installing
itkwidgets
versions 0.32.6, 0.32.5, 0.32.4 with same results., as well as latest1.0a24
.The text was updated successfully, but these errors were encountered: