[Python] Failed to upgrade TotalSegmentator
[Python] Command ‘[‘D:/YYC/software/slicer/Slicer 5.7.0-2024-11-29/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘black;extra’, ‘==’, ‘dev’]’ returned non-zero exit status 2.
Traceback (most recent call last):
File “D:/YYC/software/slicer/Slicer 5.7.0-2024-11-29/slicer.org/Extensions-33134/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 319, in onPackageUpgrade
self.logic.setupPythonRequirements(upgrade=True)
File “D:/YYC/software/slicer/Slicer 5.7.0-2024-11-29/slicer.org/Extensions-33134/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 819, in setupPythonRequirements
self.pipInstallSelective(‘nnunetv2’, nnunetRequirement, packagesToSkip)
File “D:/YYC/software/slicer/Slicer 5.7.0-2024-11-29/slicer.org/Extensions-33134/TotalSegmentator/lib/Slicer-5.7/qt-scripted-modules/TotalSegmentator.py”, line 706, in pipInstallSelective
slicer.util.pip_install(requirement)
File “D:\YYC\software\slicer\Slicer 5.7.0-2024-11-29\bin\Python\slicer\util.py”, line 3934, in pip_install
_executePythonModule(“pip”, args)
File “D:\YYC\software\slicer\Slicer 5.7.0-2024-11-29\bin\Python\slicer\util.py”, line 3888, in _executePythonModule
logProcessOutput(proc)
File “D:\YYC\software\slicer\Slicer 5.7.0-2024-11-29\bin\Python\slicer\util.py”, line 3854, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command ‘[‘D:/YYC/software/slicer/Slicer 5.7.0-2024-11-29/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘black;extra’, ‘==’, ‘dev’]’ returned non-zero exit status 2.