Hi,
When you install the dependencies for MuscleMap using the extension, you consistently use the --no-deps flag to pip.
As a result, some dependencies (higher-level dependencies for the Slicer extension) are not installed. E.g. starting from a fresh Slicer 5.12, installing MuscleMap, installing pytorch using its extension, and pushing the "Install MuscleMap dependencies" button, you get (after some time) a message that the dependencies are all installed. But if you try to create a segmentation, you discover that dependencies like "narwhals" and "psutils" are still missing.
|
slicer.util.pip_install(["--no-deps", pkg]) |
|
slicer.util.pip_install(["--no-deps", "git+https://github.com/MuscleMap/MuscleMap.git"]) |
Hi,
When you install the dependencies for MuscleMap using the extension, you consistently use the
--no-depsflag to pip.As a result, some dependencies (higher-level dependencies for the Slicer extension) are not installed. E.g. starting from a fresh Slicer 5.12, installing MuscleMap, installing pytorch using its extension, and pushing the "Install MuscleMap dependencies" button, you get (after some time) a message that the dependencies are all installed. But if you try to create a segmentation, you discover that dependencies like "narwhals" and "psutils" are still missing.
SlicerMuscleMap/WholeBodyMuscleSegmentation/WholeBodyMuscleSegmentation.py
Line 460 in 45c59de
SlicerMuscleMap/WholeBodyMuscleSegmentation/WholeBodyMuscleSegmentation.py
Line 466 in 45c59de