facebookresearch / facebookresearch/sam2

If running pip install -e prompts errors such as missing dependencies, try changing python_requires=">=3.10.0" in setup.py to 3.9.0

Open
#87 2 comments 1 reaction 0 assignees View on GitHub
installation
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

If running pip install -e prompts an error, such as missing dependencies, try changing python_requires>="3.10.0" to 3.9.0 in setup.py.
That would probably solve most of the problems.

This is roughly Torch and cuda in python

Then
conda create -n sam2 python= 3.9 -y
install pip install -e.

My configuration:
ubuntu22.04
Nvidia4070Tis16GB
cuda 12.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.