Elastix not working

Hi all,

I recently installed Slicer 5.8.0 (and also 5.8.1) on my work’s laptop and I am having the following issue with Elastix since the update on Mon Mar 03 2025.

[Python] Elastix primary method failed: module ‘Elastix’ has no attribute ‘RegistrationPresets_ParameterFilenames’. Falling back to alternative method.
Traceback (most recent call last):
File “C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/OpenDose3D/lib/Slicer-5.8/qt-scripted-modules/OpenDose3D.py”, line 1228, in onRunTestButton
self.test.FullTest_positive()
File “C:\Users\Public\AppData\Local\slicer.org\Slicer 5.8.1\slicer.org\Extensions-33241\OpenDose3D\lib\Slicer-5.8\qt-scripted-modules\Logic\OpenDose3DTest.py”, line 542, in FullTest_positive
self.logic.createTransforms(referenceNode.data)
File “C:\Users\Public\AppData\Local\slicer.org\Slicer 5.8.1\slicer.org\Extensions-33241\OpenDose3D\lib\Slicer-5.8\qt-scripted-modules\Logic\OpenDose3DLogic.py”, line 1097, in createTransforms
elastixLogic.registerVolumes(
File “C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/SlicerElastix/lib/Slicer-5.8/qt-scripted-modules/Elastix.py”, line 581, in registerVolumes
self.logProcessOutput(elastixProcess)
File “C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/SlicerElastix/lib/Slicer-5.8/qt-scripted-modules/Elastix.py”, line 527, in logProcessOutput
raise subprocess.CalledProcessError(return_code, “elastix”)
subprocess.CalledProcessError: Command ‘elastix’ returned non-zero exit status 1.

On my personal laptop (Slicer 5.8.0) with Elastix updated on Fri Jan 24 2025 it is working fine.
Is there a way to install the previous Elastix version?

From what I was told, it seems the problem started with version 5.8.0 of 3D Slicer, and it appears to affect some Windows systems. I was recommended to install a previous version of 3D Slicer (e.g. 5.6.2) and manually install OpenDose3D (download from gitlab), and it has worked fine.