# Failed to Install PyTorch Offline

**URL:** <https://discourse.slicer.org/t/failed-to-install-pytorch-offline/44331>\
**Category:** Support\
**Created:** [September 3, 2025, 2:26pm UTC](https://discourse.slicer.org/t/failed-to-install-pytorch-offline/44331 "2025-09-03T14:26:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bulala](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@bulala](https://discourse.slicer.org/u/bulala)\
**Post date:** [September 3, 2025, 2:26pm UTC](https://discourse.slicer.org/t/failed-to-install-pytorch-offline/44331/1 "2025-09-03T14:26:44Z")

</div>

I‘m trying to install Pytorch for 3D Slicer 5.8.1 on a computer that has no internet access.Although I have already installed PyTorch, a “PyTorch not installed” prompt appears when I try to activate the TotalSegmentator License. Could this be because the PyTorch version I’m using is too old and not detected?

The version I currently have is [please fill in your current PyTorch version here]. How can I resolve this issue? Could you provide a download link for a newer PyTorch version compatible with 3D Slicer 5.8.1?

Additionally, I would like to know if these extension tools can be used without an internet connection.

install:Y:\3dSlice\ **Slicer-5.8.1** -win-amd64\[slicer.org](https://slicer.org/)\Extensions-33241\PyTorch\lib\*\*\Slicer-5.0\*\*qt-scripted-modules

version from :**30822-win-amd64-PyTorch-gitb1f33d6-2022-06-18 (1)**

failed log:

Failed to set TotalSegmentator license.

This module requires PyTorch extension. Install it from the Extensions Manager.

Traceback (most recent call last):

File “Y:/3dSlice/Slicer-5.8.1-win-amd64/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py”, line 778, in setupPythonRequirements

import PyTorchUtils

ModuleNotFoundError: No module named ‘PyTorchUtils’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “Y:\3dSlice\Slicer-5.8.1-win-amd64\bin\Python\slicer\util.py”, line 3303, in tryWithErrorDisplay

yield

File “Y:/3dSlice/Slicer-5.8.1-win-amd64/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py”, line 336, in onSetLicense

self.logic.setupPythonRequirements()

File “Y:/3dSlice/Slicer-5.8.1-win-amd64/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py”, line 780, in setupPythonRequirements

raise InstallError(“This module requires **PyTorch** extension. Install it from the Extensions Manager.”)

TotalSegmentator.InstallError: This module requires PyTorch extension. Install it from the Extensions Manager.
