# How to instal old version of extension from file

**URL:** <https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212>\
**Category:** Support\
**Tags:** extensions-manager, totalsegmentator\
**Created:** [February 8, 2024, 2:55pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212 "2024-02-08T14:55:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [February 8, 2024, 2:55pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/1 "2024-02-08T14:55:48Z")

</div>

Hello,  
I want to install the version of total segmentator of 3DSlicer 5.4 to have access to the “liver vessel” task  
I found a branch on the github repository named 5.4 and downloaded the code  
I then opened the extension manager on slicer 5.4 and clicked on “install from file”  
However I can’t find the “extension file” in the code.

I think there’s something to do to generate the “extension file” from the code but I don’t know what.  
I’ve never installed an extension from a file so I might be missing something obvious.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [February 8, 2024, 4:03pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/2 "2024-02-08T16:03:56Z")

</div>

If you are installing from an extension from a cloned github repo, I find that `Extension Wizard` works better than “install from file”. Click Select Extension and then navigate to the root of the repo.

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [February 8, 2024, 4:50pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/3 "2024-02-08T16:50:47Z")

</div>

It worked thank you so much 😄

---

<div class="post-metadata">

**Author:** ![Bahadir\_OZDEMIR](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bahadir_ozdemir/32/69290_2.png) [@Bahadir\_OZDEMIR](https://discourse.slicer.org/u/Bahadir_OZDEMIR)\
**Post date:** [February 9, 2024, 1:50pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/4 "2024-02-09T13:50:08Z")

</div>

I wanted to try v2 while using totalsegmentator v1 and I couldn’t get rid of the “returned non-zero exit status 120” error. I want to try the old version like you did. I couldn’t find the old version on Github, I didn’t understand the solution here, where exactly is the extension wizard? I’m not very good at code but I think I can handle it with a little help, thank you

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [February 9, 2024, 1:54pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/5 "2024-02-09T13:54:19Z")

</div>

To try V2 you need Slicer 5.6  
I think that if you have this version and install total segmentator from the extension manager you will get V2  
On my computer, I have two slicer installed 5.4 for V1 and 5.6 for V2

---

<div class="post-metadata">

**Author:** ![Bahadir\_OZDEMIR](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bahadir_ozdemir/32/69290_2.png) [@Bahadir\_OZDEMIR](https://discourse.slicer.org/u/Bahadir_OZDEMIR)\
**Post date:** [February 9, 2024, 1:56pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/6 "2024-02-09T13:56:22Z")

</div>

I am using 5.4 slicer, how can I access v1?

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [February 9, 2024, 2:07pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/7 "2024-02-09T14:07:51Z")

</div>

The way I did it is that I downloaded the code of the extension for slicer 5.4 there [GitHub - lassoan/SlicerTotalSegmentator at 5.4](https://github.com/lassoan/SlicerTotalSegmentator/tree/5.4)

Then I used the extension wizard to search for it and add it to my slicer set up

Be carefull to not stock the files with a path that contains special caracter (é, space, ö,…)

Even if this work, it’s not perfect and I would recommend to use total segmentator V2 with slicer 5.6 exept if you have a reason to do otherwise

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [February 9, 2024, 3:55pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/8 "2024-02-09T15:55:35Z")

</div>

Is there a reason you all are not using the Extensions Manager in Slicer 5.4 to install SlicerTotalSegmentator? That will get the Slicer 5.4 version of extensions.

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [February 9, 2024, 4:07pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/9 "2024-02-09T16:07:11Z")

</div>

I tried but it wasn’t working  
Is it possible that some dependency of totalsegmentator are updated past version 5.4 which causes the issue ?

It may also be because of my set up since I have totalsegmentator already installed on my PC and use it outside of 3Dslicer. It has already been a source of issue.

---

<div class="post-metadata">

**Author:** ![Bahadir\_OZDEMIR](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bahadir_ozdemir/32/69290_2.png) [@Bahadir\_OZDEMIR](https://discourse.slicer.org/u/Bahadir_OZDEMIR)\
**Post date:** [February 9, 2024, 7:01pm UTC](https://discourse.slicer.org/t/how-to-instal-old-version-of-extension-from-file/34212/10 "2024-02-09T19:01:59Z")

</div>

thank you very much, I tried many things and somehow I succeeded. I can use totalsegmentator v1 in Slicer 5.4 as before
