'AttributeError: module 'SimpleITK' has no attribute 'ElastixImageFilter'

I need to use a library in my Python code which I run on Google Collab . MyOS Windows 10

I installed the package for that

!pip install SimpleITK==1.1.0

However, it still shows me the error :

AttributeError: module 'SimpleITK' has no attribute 'ElastixImageFilter'

Is there a guide to solve that?



Solution 1:[1]

I encountered the same error. Resolved it by installing SimpleITK-SimpleElastix independently of the installed SimpleITK.

pip install SimpleITK-SimpleElastix

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anonymous