Please help me. I've tried everything i known

##MAC TAHOE26

Processing started

Writing input file to /private/var/folders/c2/7ytv4ycx59z72y4bcl8dfplh0000gn/T/Slicer-liuxy/__SlicerTemp__2026-04-09_14+44+48.430/total-segmentator-input.nii

Creating segmentations with TotalSegmentator AI…

Total Segmentator arguments: [‘-i’, ‘/private/var/folders/c2/7ytv4ycx59z72y4bcl8dfplh0000gn/T/Slicer-liuxy/__SlicerTemp__2026-04-09_14+44+48.430/total-segmentator-input.nii’, ‘-o’, ‘/private/var/folders/c2/7ytv4ycx59z72y4bcl8dfplh0000gn/T/Slicer-liuxy/__SlicerTemp__2026-04-09_14+44+48.430/segmentation’, ‘–device’, ‘cpu’, ‘–ml’, ‘–task’, ‘total’]

If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024

Traceback (most recent call last):

File “/Applications/Slicer.app/Contents/lib/Python/bin/TotalSegmentator”, line 8, in

sys.exit(main())

^^^^^^

File “/Applications/Slicer.app/Contents/lib/Python/lib/python3.12/site-packages/totalsegmentator/bin/TotalSegmentator.py”, line 201, in main

totalsegmentator(args.input, args.output, args.ml, args.nr_thr_resamp, args.nr_thr_saving,

File “/Applications/Slicer.app/Contents/lib/Python/lib/python3.12/site-packages/totalsegmentator/python_api.py”, line 156, in totalsegmentator

from totalsegmentator.nnunet import nnUNet_predict_image # this has to be after setting new env vars

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/Applications/Slicer.app/Contents/lib/Python/lib/python3.12/site-packages/totalsegmentator/nnunet.py”, line 29, in

from totalsegmentator.custom_trainers import (nnUNetTrainer_MOSAIC_1k_QuarterLR_NoMirroring,

File “/Applications/Slicer.app/Contents/lib/Python/lib/python3.12/site-packages/totalsegmentator/custom_trainers.py”, line 35, in

from nnunetv2.training.dataloading.data_loader import nnUNetDataLoader

ModuleNotFoundError: No module named ‘nnunetv2.training.dataloading.data_loader’

TotalSegmentator has just been fixed on macOS today. Go to nnUNet module and install nnUNet version >=2.7: