TotalSegmentator icon indicating copy to clipboard operation
TotalSegmentator copied to clipboard

PyTorch module not found

Open gleesoi opened this issue 6 months ago • 7 comments

Hi I tried to install and run but it's giving me errors below. Am using windows 10 and cpu and I pip installed it with and without PyTorch. Wondering if this is known issue and any solution? ChatGPT mentions that PyTorch on Windows often requires the Microsoft Visual C++ Redistributable package?? I will try again with different torch version maybe but it appears once I install total segmentation torch 2.4 comes in.

The error message you're encountering, OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\glees\Desktop\TotalSegmentator\totalseg\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies., indicates that a required DLL file or one of its dependencies for PyTorch could not be loaded.

This can often be due to missing dependencies or incompatible versions

gleesoi avatar Aug 01 '24 21:08 gleesoi