# Elastix not working

**URL:** https://discourse.slicer.org/t/elastix-not-working/43205
**Category:** Support
**Created:** [June 3, 2025, 12:58pm UTC](https://discourse.slicer.org/t/elastix-not-working/43205 "2025-06-03T12:58:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![danielacpanciera](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@danielacpanciera](https://discourse.slicer.org/u/danielacpanciera)
#### Post date: [June 3, 2025, 12:58pm UTC](https://discourse.slicer.org/t/elastix-not-working/43205/1 "2025-06-03T12:58:18Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![danielacpanciera](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@danielacpanciera](https://discourse.slicer.org/u/danielacpanciera)
#### Post date: [June 5, 2025, 3:26pm UTC](https://discourse.slicer.org/t/elastix-not-working/43205/2 "2025-06-05T15:26:26Z")

</div>

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.
