facebookresearch / facebookresearch/sam3

pip install -e '.[notebooks]' not working

Open
#360 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Dear Facebook research team and SAM 3 development team,I can not run pip install -e '.notebook'. Specifically, I encounter this bug:
"(sam3) minhnguyen@Minhs-MacBook-Air-2 sam3 % pip install -e '.[notebooks]'Obtaining file:///Users/minhnguyen/Desktop/SAM/sam3
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: timm>=1.0.17 in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (1.0.22)
Requirement already satisfied: numpy==1.26 in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (1.26.0)
Requirement already satisfied: tqdm in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (4.67.1)
Requirement already satisfied: ftfy==6.1.1 in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (6.1.1)
Requirement already satisfied: regex in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (2025.11.3)
Requirement already satisfied: iopath>=0.1.10 in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (0.1.10)
Requirement already satisfied: typing_extensions in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (4.15.0)
Requirement already satisfied: huggingface_hub in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (0.36.0)
Requirement already satisfied: matplotlib in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (3.10.8)
Collecting jupyter (from sam3==0.1.0)
  Using cached jupyter-1.1.1-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting notebook (from sam3==0.1.0)
  Using cached notebook-7.5.1-py3-none-any.whl.metadata (10 kB)
Collecting ipywidgets (from sam3==0.1.0)
  Using cached ipywidgets-8.1.8-py3-none-any.whl.metadata (2.4 kB)
Collecting ipycanvas (from sam3==0.1.0)
  Using cached ipycanvas-0.14.3-py2.py3-none-any.whl.metadata (6.6 kB)
Collecting ipympl (from sam3==0.1.0)
  Using cached ipympl-0.9.8-py3-none-any.whl.metadata (8.9 kB)
Requirement already satisfied: pycocotools in /opt/homebrew/Caskroom/mambaforge/base/envs/sam3/lib/python3.12/site-packages (from sam3==0.1.0) (2.0.11)
INFO: pip is looking at multiple versions of sam3[notebooks] to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement decord; extra == "notebooks" (from sam3[notebooks]) (from versions: none)
ERROR: No matching distribution found for decord; extra == "notebooks""

Please tell me how to fix. Thank you very much.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported `pip install -e '.[notebooks]'` command and inspect the package metadata in `pyproject.toml`, focusing on the `notebooks` extra and its `decord` requirement. Check whether a compatible decord distribution is available for the reported Python 3.12 macOS environment; done means the notebooks extra installs successfully or the supported limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.