# TotalSegmentator error at first run: Command ...Python\\Scripts\\TotalSegmentator... returned non-zero exit status 120

**URL:** <https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-python-scripts-totalsegmentator-returned-non-zero-exit-status-120/26755>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [December 15, 2022, 2:41pm UTC](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-python-scripts-totalsegmentator-returned-non-zero-exit-status-120/26755 "2022-12-15T14:41:15Z")\
**Posts on this page:** 1\
**Showing post:** 23

<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:** [March 15, 2023, 3:15pm UTC](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-python-scripts-totalsegmentator-returned-non-zero-exit-status-120/26755/23 "2023-03-15T15:15:46Z")

</div>

5 posts were split to a new topic: [TotalSegmentator error at first run: ‘DummyFile’ object has no attribute ‘flush’](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-dummyfile-object-has-no-attribute-flush/28399)

---

_[View the full topic](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-python-scripts-totalsegmentator-returned-non-zero-exit-status-120/26755)._
