facebookresearch / facebookresearch/sam2
error installing requirements in kaggle
- Dominant language
- Jupyter Notebook
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I’m running into a dependency conflict when I execute the following line in Kaggle:
!pip install -e ".[demo]"
The error message is as follows:
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. beatrix-jupyterlab 2024.66.154055 requires jupyterlab~=3.6.0, but you have jupyterlab 4.2.4 which is incompatible. pointpats 2.5.0 requires shapely>=2, but you have shapely 1.8.5.post1 which is incompatible. spopt 0.6.1 requires shapely>=2.0.1, but you have shapely 1.8.5.post1 which is incompatible. ydata-profiling 4.9.0 requires scipy<1.14,>=1.4.1, but you have scipy 1.14.0 which is incompatible.
Has anyone been able to successfully install the required packages and resolve the _C.so issue in Kaggle? Any guidance would be greatly appreciated.
Contributor guide
Research direction
Start by reproducing `!pip install -e ".[demo]"` in Kaggle and inspect the reported dependency conflicts and `_C.so` failure. Done means the required packages install in that environment without incompatible versions and the `_C.so` issue is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100