windows 11,Version: 5.4
Hello,
“The 3DSlicer software displays the message ‘MUST-segmenter requires the ‘PyTorch’ Python package. Click OK to install it now.’ when loading the MUST-Segmenter module.”
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
[notice] A new release of pip is available: 23.1.2 -> 23.3.1
[notice] To update, run: python-real.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 314, in checkRequirements
from torch.nn import Conv3d
ModuleNotFoundError: No module named 'torch'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 56, in setup
self.segmentationLogic = MUSTsegmenterLogic()
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 292, in __init__
self.checkRequirements()
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 321, in checkRequirements
slicer.util.pip_install('torch')
File "C:\ProgramData\slicer.org\Slicer 5.4.0\bin\Python\slicer\util.py", line 3759, in pip_install
_executePythonModule('pip', args)
File "C:\ProgramData\slicer.org\Slicer 5.4.0\bin\Python\slicer\util.py", line 3721, in _executePythonModule
logProcessOutput(proc)
File "C:\ProgramData\slicer.org\Slicer 5.4.0\bin\Python\slicer\util.py", line 3690, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command '['C:/ProgramData/slicer.org/Slicer 5.4.0/bin/../bin\\PythonSlicer.EXE', '-m', 'pip', 'install', 'torch']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 81, in enter
self.initializeParameterNode()
File "C:/ProgramData/slicer.org/Slicer 5.4.0/slicer.org/Extensions-31938/PET-MUST-Segmenter/lib/Slicer-5.4/qt-scripted-modules/MUSTsegmenter.py", line 99, in initializeParameterNode
self.setParameterNode(self.segmentationLogic.getParameterNode())
AttributeError: 'NoneType' object has no attribute 'getParameterNode'
After clicking OK, as shown in the following image, there is a segmentation error and the cursor turns into a spinning circle continuously
Any help would be greatly appreciated. Thank you!