# Totalsegmentator failing with error 120

**URL:** <https://discourse.slicer.org/t/totalsegmentator-failing-with-error-120/34434>\
**Category:** Support\
**Created:** [February 20, 2024, 6:52pm UTC](https://discourse.slicer.org/t/totalsegmentator-failing-with-error-120/34434 "2024-02-20T18:52:39Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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 20, 2024, 9:27pm UTC](https://discourse.slicer.org/t/totalsegmentator-failing-with-error-120/34434/9 "2024-02-20T21:27:35Z")

</div>

Most likely the issue is that the `dynamic-network-architectures` is somehow corrupted. Maybe you have some old corrupted copy in the pip cache.

First of all, check its version:

```python
from importlib.metadata import version
print(version("dynamic_network_architectures"))

```

Then check if you can import `dynamic_network_architectures` and its path is within the Slicer build tree:

```python
import dynamic_network_architectures
import inspect
print(inspect.getabsfile(dynamic_network_architectures))

```

Then check if you can load `ResidualEncoderUNet` and it is in the correct location:

```python
from dynamic_network_architectures.architectures.unet import ResidualEncoderUNet
print(inspect.getabsfile(ResidualEncoderUNet))

```

If this fails check if the content of your `dynamic_network_architectures` file folder matches the content of the folder on my computer (from a working TotalSegmentator installation): [site-packages.zip](https://1drv.ms/u/s!Arm_AFxB9yqH0J9sUHKrsZt6sODpBA?e=B7Lt1n)

---

_[View the full topic](https://discourse.slicer.org/t/totalsegmentator-failing-with-error-120/34434)._
