I am installing Totalsegmentation in Windows 10, after the installation, I continued to install the PyTorch, and got the error:
I already uninstall, restart, reinstall, and restart, there is no difference.
My setup is:
I7-10700CPU@2.90GHz
64GB RAM
Windows 10 Pro
NIVIDIA GeForce RTX 3060 Ti, Driver version 560.94
NIVIDIA GeForce Experience Version 3.28.0.417
3D Slicer Version 5.6.2
The details of the error are as follows:
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/PyTorch/lib/Slicer-5.6/qt-scripted-modules/PyTorchUtils.py”, line 219, in installTorch
import light_the_torch._patch
ModuleNotFoundError: No module named ‘light_the_torch’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\User\AppData\Local\slicer.org\Slicer 5.6.2\bin\Python\slicer\util.py”, line 3255, in tryWithErrorDisplay
yield
File “C:/Users/User/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/PyTorch/lib/Slicer-5.6/qt-scripted-modules/PyTorchUtils.py”, line 78, in onInstallTorch
torch = self.logic.installTorch(askConfirmation, None if automaticBackend else backend, torchVersionRequirement, torchvisionVersionRequirement)
File “C:/Users/User/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/PyTorch/lib/Slicer-5.6/qt-scripted-modules/PyTorchUtils.py”, line 221, in installTorch
PyTorchUtilsLogic._installLightTheTorch()
File “C:/Users/User/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/PyTorch/lib/Slicer-5.6/qt-scripted-modules/PyTorchUtils.py”, line 247, in _installLightTheTorch
slicer.util.pip_install(‘light-the-torch>=0.5’)
File “C:\Users\User\AppData\Local\slicer.org\Slicer 5.6.2\bin\Python\slicer\util.py”, line 3887, in pip_install
_executePythonModule(“pip”, args)
File “C:\Users\User\AppData\Local\slicer.org\Slicer 5.6.2\bin\Python\slicer\util.py”, line 3848, in _executePythonModule
logProcessOutput(proc)
File “C:\Users\User\AppData\Local\slicer.org\Slicer 5.6.2\bin\Python\slicer\util.py”, line 3814, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command ‘[‘C:/Users/User/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘light-the-torch>=0.5’]’ returned non-zero exit status 1.
Please advise.
Thanks.