itk

Python error: module 'itk' has no attribute 'ParameterObject'

Python error: module 'itk' has no attribute 'ParameterObject' Question: I use ITK in python (https://itkpythonpackage.readthedocs.io/en/master/Quick_start_guide.html) and the package seems to work, but when I want to use a code I found on github (https://github.com/InsightSoftwareConsortium/ITKElastix/blob/master/wrapping/test/itkElastixRegistrationMethodTest.py) it gives me an error: import itk parameter_object = itk.ParameterObject.New() module ‘itk’ has no attribute ‘ParameterObject’ unfortunately I could not find …

Total answers: 2