Why can not use dental segmentator?

Dears,
wish you are doing fine and happy new year to all.
I have added the module “dental segmentator” to 3D Slicer 5.7 and when trying to used it the program ask to download the needed extension “NNUNet and PyTorch” which are added. But, when trying to use the dental segmentator still asking for the PyTorch!!!

I tried to solve this through “uninstalling the whole program and re-download it with the module and needed extensions” but still the same problem does exist (as shown in the screenshot here"

Please:

  1. Restart the program

  2. Click this button

  3. Click this button

  4. Try to use Dental Segmentator

  5. Report if it still does not work (and add logs or a picture of the problem)

Thank you so much for your comments. I have done the same as you pointed but unfortunately, the same problem still exists!

Please remove this Slicer version and download and install the latest Slicer Preview Release, install PyTorch extension, restart Slicer, and in PyTorch Utils module set Torch version requirement to >=2, then click Install PyTorch. If you encounter any problems, copy here the entire application log (menu: Help / Report a bug).

Dear Dr. Iassoan, thank you so much for yoru informative reply. Actually, I have tried as you recommend, but, unfortunatelly, the problem still exist. Please, find here the entire application log:
[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Session start time …: 20250120_191522

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Slicer version …: 5.7.0-2025-01-18 (revision 33194 / e6b2ab6) win-amd64 - installed release

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Operating system …: Windows / Professional / (Build 17763, Code Page 1256) - 64-bit

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Memory …: 8078 MB physical, 12174 MB virtual

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - CPU …: GenuineIntel , 4 cores, 4 logical processors

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Qt configuration …: version 5.15.2, with SSL, requested OpenGL 3.2 (compatibility profile)

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - DCMTK configuration …: version 3.6.8, no SSL

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Internationalization …: disabled, language=

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Developer mode …: disabled

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Application path …: C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/bin

[DEBUG][Qt] 20.01.2025 19:15:22 (unknown:0) - Additional module paths …: slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules

[DEBUG][Python] 20.01.2025 19:15:28 [Python] (C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\lib\Slicer-5.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:40) - Scripted subject hierarchy plugin registered: SegmentEditor

[DEBUG][Python] 20.01.2025 19:15:28 [Python] (C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\lib\Slicer-5.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:40) - Scripted subject hierarchy plugin registered: SegmentStatistics

[DEBUG][Qt] 20.01.2025 19:15:29 (unknown:0) - Switch to module: “Welcome”

[DEBUG][Qt] 20.01.2025 19:15:52 (unknown:0) - Switch to module: “PyTorchUtils”

[INFO][Python] 20.01.2025 19:16:14 [Python] (C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\bin\Python\slicer\util.py:3057) - PyTorch will be downloaded and installed using light-the-torch (ltt install torch>=2 torchvision). The process might take some minutes.

[INFO][Python] 20.01.2025 19:16:17 [Python] (C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules/PyTorchUtils.py:216) - Install PyTorch using light-the-torch with arguments: [‘install’, ‘torch>=2’, ‘torchvision’]

[INFO][Stream] 20.01.2025 19:16:25 (unknown:0) - WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/light-the-torch/

[INFO][Stream] 20.01.2025 19:16:25 (unknown:0) - WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/light-the-torch/

[INFO][Stream] 20.01.2025 19:16:26 (unknown:0) - WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/light-the-torch/

[INFO][Stream] 20.01.2025 19:16:28 (unknown:0) - WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/light-the-torch/

[INFO][Stream] 20.01.2025 19:16:32 (unknown:0) - WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))’: /simple/light-the-torch/

[INFO][Stream] 20.01.2025 19:16:32 (unknown:0) - Could not fetch URL https://pypi.org/simple/light-the-torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/light-the-torch/ (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1129)’))) - skipping

[INFO][Stream] 20.01.2025 19:16:33 (unknown:0) - ERROR: Could not find a version that satisfies the requirement light-the-torch>=0.5 (from versions: none)

[INFO][Stream] 20.01.2025 19:16:33 (unknown:0) - ERROR: No matching distribution found for light-the-torch>=0.5

[ERROR][Python] 20.01.2025 19:16:33 [Python] (C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\bin\Python\slicer\util.py:3057) - Failed to install PyTorch. Some PyTorch files may be in use or corrupted. Please restart the application, uninstall PyTorch, and try installing again.

Command ‘[‘C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘light-the-torch>=0.5’]’ returned non-zero exit status 1.

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - Traceback (most recent call last):

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules/PyTorchUtils.py”, line 219, in installTorch

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - import light_the_torch._patch

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - ModuleNotFoundError: No module named ‘light_the_torch’

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) -

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - During handling of the above exception, another exception occurred:

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) -

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - Traceback (most recent call last):

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules/PyTorchUtils.py”, line 78, in onInstallTorch

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - torch = self.logic.installTorch(askConfirmation, None if automaticBackend else backend, torchVersionRequirement, torchvisionVersionRequirement)

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules/PyTorchUtils.py”, line 221, in installTorch

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - PyTorchUtilsLogic._installLightTheTorch()

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/slicer.org/Extensions-33194/PyTorch/lib/Slicer-5.7/qt-scripted-modules/PyTorchUtils.py”, line 247, in _installLightTheTorch

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - slicer.util.pip_install(‘light-the-torch>=0.5’)

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\bin\Python\slicer\util.py”, line 3942, in pip_install

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - _executePythonModule(“pip”, args)

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\bin\Python\slicer\util.py”, line 3896, in _executePythonModule

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - logProcessOutput(proc)

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - File “C:\Users\HanFei\AppData\Local\slicer.org\Slicer 5.7.0-2025-01-18\bin\Python\slicer\util.py”, line 3862, in logProcessOutput

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)

[CRITICAL][Stream] 20.01.2025 19:16:38 (unknown:0) - subprocess.CalledProcessError: Command ‘[‘C:/Users/HanFei/AppData/Local/slicer.org/Slicer 5.7.0-2025-01-18/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘light-the-torch>=0.5’]’ returned non-zero exit status 1.

Thank you again and wish this issue would be solved soon with your highly appreciated help.