# Total segmentor module showing errors

**URL:** <https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [February 15, 2023, 8:46pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834 "2023-02-15T20:46:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie-segmentor](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Newbie-segmentor](https://discourse.slicer.org/u/Newbie-segmentor)\
**Post date:** [February 15, 2023, 8:46pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/1 "2023-02-15T20:46:45Z")

</div>

Operating system: Windows 10 Enterprise  
Slicer version: 5.2.1  
Expected behavior: Automated segmentation of organs  
Actual behavior: Showing errors everytime

---

<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:** [February 15, 2023, 8:48pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/2 "2023-02-15T20:48:28Z")

</div>

If you want to get help to resolve the errors then you need to be more specific, such as copy here the displayed error messages and give us information about your system (GPU model, CUDA version, etc.).

---

<div class="post-metadata">

**Author:** ![Newbie-segmentor](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Newbie-segmentor](https://discourse.slicer.org/u/Newbie-segmentor)\
**Post date:** [February 15, 2023, 8:43pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/3 "2023-02-15T20:43:42Z")

</div>

Hello,

I have tried using total segmentor module several times, but failed.  
**Error says:**  
Traceback (most recent call last):  
File “C:\Users\singhs40\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py”, line 2961, in tryWithErrorDisplay  
yield  
File “C:/Users/singhs40/AppData/Local/NA-MIC/Slicer 5.2.1/NA-MIC/Extensions-31317/TotalSegmentator/lib/Slicer-5.2/qt-scripted-modules/TotalSegmentator.py”, line 248, in onApplyButton  
self.logic.setupPythonRequirements()  
File “C:/Users/singhs40/AppData/Local/NA-MIC/Slicer 5.2.1/NA-MIC/Extensions-31317/TotalSegmentator/lib/Slicer-5.2/qt-scripted-modules/TotalSegmentator.py”, line 524, in setupPythonRequirements  
slicer.util.pip\_install(totalSegmentatorPackage + (" --upgrade" if upgrade else “”))  
File “C:\Users\singhs40\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py”, line 3571, in pip\_install  
\_executePythonModule(‘pip’, args)  
File “C:\Users\singhs40\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py”, line 3533, in \_executePythonModule  
logProcessOutput(proc)  
File “C:\Users\singhs40\AppData\Local\NA-MIC\Slicer 5.2.1\bin\Python\slicer\util.py”, line 3502, in logProcessOutput  
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)  
subprocess.CalledProcessError: Command '[‘C:/Users/singhs40/AppData/Local/NA-MIC/Slicer 5.2.1/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, '[https://github.com/wasserth/TotalSegmentator/archive/master.zip’]’](https://github.com/wasserth/TotalSegmentator/archive/master.zip'%5D') returned non-zero exit status 1.

I tried to uninstall and re-install PyTorch by CPU, have installed Git and it shows the same error.

Thank you

---

<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:** [February 15, 2023, 8:52pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/5 "2023-02-15T20:52:09Z")

</div>

Please exit Slicer and run this command in a Windows command prompt to see some more details:

`C:\Users\singhs40\AppData\Local\NA-MIC\Slicer 5.2.1\bin\PythonSlicer.EXE -m pip install https://github.com/wasserth/TotalSegmentator/archive/master.zip --upgrade`

---

<div class="post-metadata">

**Author:** ![Newbie-segmentor](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Newbie-segmentor](https://discourse.slicer.org/u/Newbie-segmentor)\
**Post date:** [February 15, 2023, 8:54pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/6 "2023-02-15T20:54:05Z")

</div>

GPU: NVIDIA Quadro P400  
Following your command and replying. Thanks

---

<div class="post-metadata">

**Author:** ![Newbie-segmentor](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Newbie-segmentor](https://discourse.slicer.org/u/Newbie-segmentor)\
**Post date:** [February 15, 2023, 8:58pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/7 "2023-02-15T20:58:00Z")

</div>

This is the error command prompt shows:

ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘[codeload.github.com](http://codeload.github.com)’, port=443): Max retries exceeded with url: /wasserth/TotalSegmentator/zip/refs/heads/master (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1129)’)))

---

<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:** [February 15, 2023, 9:01pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/8 "2023-02-15T21:01:47Z")

</div>

It seems that your computer has some problems with SSL certifications, maybe some overly aggressive corporate proxy server/firewall. You can search the web for `certificate verify failed: self signed certificate in certificate chain` or ask your IT administators for help.

---

<div class="post-metadata">

**Author:** ![Newbie-segmentor](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Newbie-segmentor](https://discourse.slicer.org/u/Newbie-segmentor)\
**Post date:** [February 15, 2023, 9:03pm UTC](https://discourse.slicer.org/t/total-segmentor-module-showing-errors/27834/9 "2023-02-15T21:03:05Z")

</div>

Yes, it is an aggressive firewall. How to proceed if I get help of administrators?
