# Fail to Run Total Segmentator

**URL:** <https://discourse.slicer.org/t/fail-to-run-total-segmentator/28436>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [March 18, 2023, 12:31am UTC](https://discourse.slicer.org/t/fail-to-run-total-segmentator/28436 "2023-03-18T00:31:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![holo031029](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/holo031029/32/18802_2.png) [@holo031029](https://discourse.slicer.org/u/holo031029)\
**Post date:** [March 18, 2023, 12:31am UTC](https://discourse.slicer.org/t/fail-to-run-total-segmentator/28436/1 "2023-03-18T00:31:00Z")

</div>

Version 5.3 and 5.2.2 both have the same error：  
Updated the Total Segmentator package and error in the first time, then RUN it again the processing started but still can’t work successfully.

Thanks for your help!

Traceback (most recent call last):  
File “H:\ProgramData\slicer.org\Slicer 5.3.0-2023-03-14\bin\Python\slicer\util.py”, line 2973, in tryWithErrorDisplay  
yield  
File “H:/ProgramData/slicer.org/Slicer 5.3.0-2023-03-14/slicer.org/Extensions-31671/TotalSegmentator/lib/Slicer-5.3/qt-scripted-modules/TotalSegmentator.py”, line 264, in onApplyButton  
self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputSegmentationSelector.currentNode(),  
File “H:/ProgramData/slicer.org/Slicer 5.3.0-2023-03-14/slicer.org/Extensions-31671/TotalSegmentator/lib/Slicer-5.3/qt-scripted-modules/TotalSegmentator.py”, line 763, in process  
self.logProcessOutput(proc)  
File “H:/ProgramData/slicer.org/Slicer 5.3.0-2023-03-14/slicer.org/Extensions-31671/TotalSegmentator/lib/Slicer-5.3/qt-scripted-modules/TotalSegmentator.py”, line 656, in logProcessOutput  
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)  
subprocess.CalledProcessError: Command ‘[‘H:/ProgramData/slicer.org/Slicer 5.3.0-2023-03-14/bin/…/bin\PythonSlicer.EXE’, ‘H:\ProgramData\slicer.org\Slicer 5.3.0-2023-03-14\lib\Python\Scripts\TotalSegmentator’, ‘-i’, ‘C:/Windows/Temp/Slicer/\_\_SlicerTemp\_\_2023-03-17\_13+56+05.512/total-segmentator-input.nii’, ‘-o’, ‘C:/Windows/Temp/Slicer/\_\_SlicerTemp\_\_2023-03-17\_13+56+05.512/segmentation’, ‘–ml’, ‘–task’, ‘total’]’ returned non-zero exit status 2.

 ![Image 2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/6/26754abc6eae17abd4cc9bc69737dff2310a8a08.png)

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [March 18, 2023, 4:30pm UTC](https://discourse.slicer.org/t/fail-to-run-total-segmentator/28436/2 "2023-03-18T16:30:24Z")

</div>

Please post some more information:

- Operating system
- Brand and model of your GPU, dedicated video RAM of your GPU

and the log from here, please:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/4/d433905544105bfa7f2b2f49242582521b3041a7.png)
