# TotalSegmentator: Failed to install required packages (win10)

**URL:** <https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453>\
**Category:** Support\
**Tags:** totalsegmentator\
**Created:** [September 20, 2024, 5:30am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453 "2024-09-20T05:30:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 20, 2024, 5:30am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/1 "2024-09-20T05:30:50Z")

</div>

Failed to install Python dependencies:  
Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-03/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ 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:** [September 20, 2024, 5:32am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/2 "2024-09-20T05:32:33Z")

</div>

Please follow [these instructions](https://github.com/lassoan/SlicerTotalSegmentator?tab=readme-ov-file#failed-to-compute-results-error-the-first-time-trying-to-use-this-slicer-module). Thank you!

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 20, 2024, 6:00am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/3 "2024-09-20T06:00:44Z")

</div>

Computer configuration: NVIDIA GeForce RTX 4070 Ti, Intel(R) Core™ i9-10850K CPU @3.60GHz, 128GB RAM

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 20, 2024, 6:03am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/4 "2024-09-20T06:03:25Z")

</div>

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))’: /simple/pandas/  
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))’: /simple/pandas/  
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))’: /simple/pandas/  
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))’: /simple/pandas/  
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))’: /simple/pandas/  
Could not fetch URL [https://pypi.org/simple/pandas/:](https://pypi.org/simple/pandas/:) There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘[pypi.org](http://pypi.org)’, port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (\_ssl.c:1129)’))) - skipping  
ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)  
ERROR: No matching distribution found for pandas  
Traceback (most recent call last):  
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 717, in setupPythonRequirements  
import pandas  
ModuleNotFoundError: No module named ‘pandas’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 274, in onApplyButton  
self.logic.setupPythonRequirements()  
File “C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/slicer.org/Extensions-33015/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 719, in setupPythonRequirements  
slicer.util.pip\_install(“pandas”)  
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3927, in pip\_install  
\_executePythonModule(“pip”, args)  
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3888, in \_executePythonModule  
logProcessOutput(proc)  
File “C:\ProgramData\slicer.org\Slicer 5.7.0-2024-09-18\bin\Python\slicer\util.py”, line 3854, in logProcessOutput  
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)  
subprocess.CalledProcessError: Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ returned non-zero exit status 1.  
[Python] Failed to install required packages.  
[Python] Command ‘[‘C:/ProgramData/slicer.org/Slicer 5.7.0-2024-09-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘pandas’]’ returned non-zero exit status 1.

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 20, 2024, 6:05am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/5 "2024-09-20T06:05:04Z")

</div>

I am not a computer major, do not know how to solve

---

<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:** [September 20, 2024, 4:37pm UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/6 "2024-09-20T16:37:49Z")

</div>

> [@zhang\_zhixiong](#):
>
> EOF occurred in violation of protocol

Thanks, this additional information helps a lot. It is likely that your institution interferes with your internet access.

You can find several similar topics, see for example [[1]](https://discourse.slicer.org/t/error-when-installing-matplotib-in-slicer/28141) and [[2]](https://discourse.slicer.org/t/about-using-totalsegmentator/34539/3).

Probably the simplest solution is to install Slicer and extensions on a computer with proper internet access and then copy that Slicer to the computers where you need to use it. Slicer is fully portable, so if you only copy the Slicer installation folder and downloaded TotalSegmentator weights from your user folder then it should all work.

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 23, 2024, 3:22am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/7 "2024-09-23T03:22:35Z")

</div>

![bug](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/4/f4a27cb7ada0224890da25083d6aa88b3ad2912a.png)

I find PyTorch doesn’t seem to be installed. How can I fix it

---

<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:** [September 23, 2024, 3:27am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/8 "2024-09-23T03:27:49Z")

</div>

You can choose a GPU (cuda) computation backend and click install.

However, since you seem to have an internet connectivity issue, you need to do this on a different computer or ask help from local IT personnel to get usable internet connection.

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 23, 2024, 3:59am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/9 "2024-09-23T03:59:52Z")

</div>

My network can get online, are you talking about my 3D slicer network connection problem? How to fix it?

---

<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:** [September 23, 2024, 4:21am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/10 "2024-09-23T04:21:22Z")

</div>

It is not a 3D Slicer network connection problem, but an issue with your computer network settings (e.g., invalid/temporary SSL certificates issued by Zscaler or similar network security software on your computer) or your internet connection (e.g., aggressive proxy server preventing internet access of applications).

---

<div class="post-metadata">

**Author:** ![zhang\_zhixiong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_zhixiong/32/77975_2.png) [@zhang\_zhixiong](https://discourse.slicer.org/u/zhang_zhixiong)\
**Post date:** [September 23, 2024, 5:44am UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-install-required-packages-win10/38453/11 "2024-09-23T05:44:49Z")

</div>

Ouch! How to solve this problem? Please give me some Pointers! So how do you do that?
