# Total Segmentator error: Failed to compute results...returned non-zero exit status 1

**URL:** https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322
**Category:** Support
**Tags:** extensions-manager, extension-manager, totalsegmentator
**Created:** [May 22, 2024, 1:15pm UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322 "2024-05-22T13:15:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![liyiranran2001](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/liyiranran2001/32/76611_2.png) [@liyiranran2001](https://discourse.slicer.org/u/liyiranran2001)
#### Post date: [May 22, 2024, 1:15pm UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322/1 "2024-05-22T13:15:42Z")

</div>

Operating system:windows11  
Slicer version:5.6.2

Hi,  
I have installed Pytorch and other python packages properly, and restarted and reinstalled Slicer for several times. No matter I choose the ‘fast’ mode or not, the process will stop after starting the downloading of models.

 ![1716345893668](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/b/cb6098fc8ea56ee659b31a51402c3a78baed0d1c.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/b/db74d42a11b94b1c42b9bf568b5a006a1d432d43.png)

And here is the details:

```auto
*[Python] Failed to compute results.*
*[Python] Command '['D:/Programmes/3DSlicer/Slicer 5.6.2/bin/../bin\\PythonSlicer.EXE', 'D:\\Programmes\\3DSlicer\\Slicer 5.6.2\\lib\\Python\\Scripts\\TotalSegmentator.exe', '-i', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/ __SlicerTemp__ 2024-05-22_10+47+37.137/total-segmentator-input.nii', '-o', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/ __SlicerTemp__ 2024-05-22_10+47+37.137/segmentation', '--fast']' returned non-zero exit status 1.*
*Traceback (most recent call last):*
* File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 298, in onApplyButton*
* self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputSegmentationSelector.currentNode(),*
* File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 961, in process*
* self.processVolume(inputFile, inputVolume,*
* File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 1001, in processVolume*
* self.logProcessOutput(proc)*
* File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 807, in logProcessOutput*
* raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)*
*subprocess.CalledProcessError: Command '['D:/Programmes/3DSlicer/Slicer 5.6.2/bin/../bin\\PythonSlicer.EXE', 'D:\\Programmes\\3DSlicer\\Slicer 5.6.2\\lib\\Python\\Scripts\\TotalSegmentator.exe', '-i', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/ __SlicerTemp__ 2024-05-22_10+47+37.137/total-segmentator-input.nii', '-o', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/ __SlicerTemp__ 2024-05-22_10+47+37.137/segmentation', '--fast']' returned non-zero exit status 1.*

```

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [May 22, 2024, 1:21pm UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322/2 "2024-05-22T13:21:28Z")

</div>

I can see in the screenshot that there is an error message about network communication (`requests.exceptions.ConnectionError`), but most of the details are not visible. Could you please copy the content of the textbox below the “Apply” button?

---

<div class="post-metadata">

### Author: ![liyiranran2001](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/liyiranran2001/32/76611_2.png) [@liyiranran2001](https://discourse.slicer.org/u/liyiranran2001)
#### Post date: [May 22, 2024, 4:13pm UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322/3 "2024-05-22T16:13:51Z")

</div>

Thanks for your reply! 🥰 I have solved this problem by downloading these models manually.  
Regarding the network issue mentioned, it may be due to my VPN usage. However, the process would start slowly and finally crash even without VPN.  
I didn’t save the details after _ **requests.exceptions.ConnectionError** _, but here is the related information copied from temp documents:  
_requests.exceptions.ProxyError: HTTPSConnectionPool(host=‘[github.com](http://github.com)’, port=443): Max retries exceeded with url: /wasserth/TotalSegmentator/releases/download/v2.0.0-weights/Dataset297\_TotalSegmentator\_total\_3mm\_1559subj.zip (Caused by ProxyError(‘Unable to connect to proxy’, SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))))_  
Hope this could help.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [May 22, 2024, 5:24pm UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322/4 "2024-05-22T17:24:46Z")

</div>

Thanks for the update. The error indicates that your firewall or proxy server was blocking the direct internet connection.

---

<div class="post-metadata">

### Author: ![Yang1](https://avatars.discourse-cdn.com/v4/letter/y/bc8723/32.png) [@Yang1](https://discourse.slicer.org/u/Yang1)
#### Post date: [January 23, 2026, 3:12am UTC](https://discourse.slicer.org/t/total-segmentator-error-failed-to-compute-results-returned-non-zero-exit-status-1/36322/5 "2026-01-23T03:12:43Z")

</div>

Hi.I meet the same problem.Could you please share how did you download models manually?Now there is just one of the Segmentation task named “Total” could work on my slicer.
