facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
12.41k stars 1.14k forks source link

Error during Installation #450

Open Lee4396 opened 11 hours ago

Lee4396 commented 11 hours ago

Error running pip install -e .:

Obtaining file:///home/ec2-user/sam2 Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... error error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: -11 ╰─> [0 lines of output] [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: -11 ╰─> See above for output.

Cuda: 12.1 Torch: 2.5.1 Platform: Linux