# TotalSegmenter looks for a non-existant archve file

**URL:** <https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831>\
**Category:** Support\
**Created:** [February 15, 2023, 6:11pm UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831 "2023-02-15T18:11:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeneRisi](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@GeneRisi](https://discourse.slicer.org/u/GeneRisi)\
**Post date:** [February 15, 2023, 6:11pm UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/1 "2023-02-15T18:11:51Z")

</div>

When I try to run TotalSegmenter with the sample data ( in Slicer 5.3.0), I get this message

Traceback (most recent call last):  
File “C:\Users\Gene\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-27\bin\Python\slicer\util.py”, line 2973, in tryWithErrorDisplay  
yield  
File “C:/Users/Gene/AppData/Local/NA-MIC/Slicer 5.3.0-2023-01-27/NA-MIC/Extensions-31549/TotalSegmentator/lib/Slicer-5.3/qt-scripted-modules/TotalSegmentator.py”, line 255, in onApplyButton  
self.logic.setupPythonRequirements()  
File “C:/Users/Gene/AppData/Local/NA-MIC/Slicer 5.3.0-2023-01-27/NA-MIC/Extensions-31549/TotalSegmentator/lib/Slicer-5.3/qt-scripted-modules/TotalSegmentator.py”, line 624, in setupPythonRequirements  
slicer.util.pip\_install(self.totalSegmentatorPythonPackageDownloadUrl)  
File “C:\Users\Gene\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-27\bin\Python\slicer\util.py”, line 3586, in pip\_install  
\_executePythonModule(‘pip’, args)  
File “C:\Users\Gene\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-27\bin\Python\slicer\util.py”, line 3548, in \_executePythonModule  
logProcessOutput(proc)  
File “C:\Users\Gene\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-27\bin\Python\slicer\util.py”, line 3517, in logProcessOutput  
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)  
subprocess.CalledProcessError: Command '[‘C:/Users/Gene/AppData/Local/NA-MIC/Slicer 5.3.0-2023-01-27/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, '[https://github.com/wasserth/TotalSegmentator/archive/ecf84f9e59b84dddb447e2b13542f58c29ee4c6a.zip’]’](https://github.com/wasserth/TotalSegmentator/archive/ecf84f9e59b84dddb447e2b13542f58c29ee4c6a.zip'%5D') returned non-zero exit status 1.

I found that the archive does not exist online. How can I fix this?

Thank you!

Gene Risi

---

<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 16, 2023, 12:27am UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/2 "2023-02-16T00:27:17Z")

</div>

If the [https://github.com/wasserth/TotalSegmentator/archive/ecf84f9e59b84dddb447e2b13542f58c29ee4c6a.zip](https://github.com/wasserth/TotalSegmentator/archive/ecf84f9e59b84dddb447e2b13542f58c29ee4c6a.zip) is not accessible for you then it means that you have a network connectivity problem.

If you want to get more details on why the installation fails, exit Slicer and launch this in a Windows Command Prompt:

`"C:\Users\Gene\AppData\Local\NA-MIC\Slicer 5.3.0-2023-01-27\bin\PythonSlicer.EXE" -m pip install https://github.com/wasserth/TotalSegmentator/archive/ecf84f9e59b84dddb447e2b13542f58c29ee4c6a.zip`

---

<div class="post-metadata">

**Author:** ![GeneRisi](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@GeneRisi](https://discourse.slicer.org/u/GeneRisi)\
**Post date:** [February 16, 2023, 12:49am UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/3 "2023-02-16T00:49:18Z")

</div>

Thank you, Andras! That worked and now things are running 😀

---

<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:** [February 16, 2023, 6:20am UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/4 "2023-02-16T06:20:56Z")

</div>

Where can we get the information about available GitHub archive files for this and other projects?

---

<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 16, 2023, 12:18pm UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/5 "2023-02-16T12:18:06Z")

</div>

Github accepts any branch name or commit hash as .zip file name.

---

<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:** [February 16, 2023, 1:11pm UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/6 "2023-02-16T13:11:51Z")

</div>

Sry, but where did you find the hash.zip? If I enter `https://github.com/wasserth/TotalSegmentator/archive/`  
it does not show what zip files are available. Should we just use a commit hash?

---

<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 16, 2023, 1:36pm UTC](https://discourse.slicer.org/t/totalsegmenter-looks-for-a-non-existant-archve-file/27831/7 "2023-02-16T13:36:03Z")

</div>

You can find commit hashes in the commit history.
