Skip to content

Dependencies not installed with "install dependencies" button #2

Description

@shai-ikko

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"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions