Skip to content

incompatible sam2 problems #3

@Dionysssss

Description

@Dionysssss

Hi, thank you so much for this code repo!
However, by following the installation script "install.sh", it seems sam2 is incompatible to lot of packages. It there some specific version of sam2 should be install to make it compatible with other packages?

Error log of other packages incompatible with sam2
hamar:
Running setup.py develop for hamer ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sam-2 1.0 requires iopath>=0.1.10, but you have iopath 0.1.9 which is incompatible.

torch, torchvision:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. opencv-python 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible. sam-2 1.0 requires iopath>=0.1.10, but you have iopath 0.1.9 which is incompatible. sam-2 1.0 requires torch>=2.5.1, but you have torch 2.1.0+cu121 which is incompatible. sam-2 1.0 requires torchvision>=0.20.1, but you have torchvision 0.16.0+cu121 which is incompatible.

phantom-robosuite:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sam-2 1.0 requires iopath>=0.1.10, but you have iopath 0.1.9 which is incompatible. sam-2 1.0 requires torch>=2.5.1, but you have torch 2.1.0+cu121 which is incompatible. sam-2 1.0 requires torchvision>=0.20.1, but you have torchvision 0.16.0+cu121 which is incompatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions