Traceback (most recent call last):
skeleton = itk.binary_thinning_image_filter3_d(image)
File "/Users/mariebrei/opt/anaconda3/envs/test_env/lib/python3.9/site-packages/itk/support/lazy.py", line 138, in __getattribute__
base.itk_load_swig_module(module, namespace)
File "/Users/mariebrei/opt/anaconda3/envs/test_env/lib/python3.9/site-packages/itk/support/base.py", line 132, in itk_load_swig_module
l_module = loader.load(swig_module_name)
File "/Users/mariebrei/opt/anaconda3/envs/test_env/lib/python3.9/site-packages/itk/support/base.py", line 291, in load
l_spec.loader.exec_module(l_module) # pytype: disable=attribute-error
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/mariebrei/opt/anaconda3/envs/test_env/lib/python3.9/site-packages/itk/support/../Thickness3DPython.py", line 13, in <module>
from . import _Thickness3DPython
AttributeError: PyCapsule_Import "_ITKCommonPython._C_API" is not valid
With itk==5.2.1.post1 everything works as expected.
Description
With the latest release of
itk
(version5.3.0
) theBinaryThinningImageFilter3D
does not work anymore, and the import fails with anAttributeError
.Steps to reproduce
Package versions:
Minimal example:
fails with the following error message:
With
itk==5.2.1.post1
everything works as expected.