# Totalsegmentator install fails due to certificate issue

**URL:** <https://discourse.slicer.org/t/totalsegmentator-install-fails-due-to-certificate-issue/28564>\
**Category:** Support\
**Created:** [March 24, 2023, 7:56pm UTC](https://discourse.slicer.org/t/totalsegmentator-install-fails-due-to-certificate-issue/28564 "2023-03-24T19:56:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [March 25, 2023, 5:52pm UTC](https://discourse.slicer.org/t/totalsegmentator-install-fails-due-to-certificate-issue/28564/5 "2023-03-25T17:52:20Z")

</div>

I have been discussing similar issue in a different post where I am also providing a small python snippet to help better understand.

> [@Slicer fails to download custom sample data](https://discourse.slicer.org/t/slicer-fails-to-download-custom-sample-data/28561/10):
>
> Could you try the following ? The snippet is expected to work in both PythonSlicer and a regular python interpreter. import sys import traceback import urllib.request def processEvents(): try: import slicer slicer.app.processEvents() except (AttributeError, ImportError): pass def display(text, file=sys.stdout): processEvents() print(text, flush=True, file=file) def error(text): display(text, file=sys.stderr) for url, expected\_success …

Could you try the python snippet I provide in the following context ?

- Python console built-in the Slicer application
- PythonSlicer python console
- Regular python console outside of the Slicer environment

---

_[View the full topic](https://discourse.slicer.org/t/totalsegmentator-install-fails-due-to-certificate-issue/28564)._
