runtime error
Exit code: 1. Reason: ne-any.whl (19 kB) Building wheels for collected packages: SAM-2, iopath Building editable for SAM-2 (pyproject.toml): started Building editable for SAM-2 (pyproject.toml): finished with status 'done' Created wheel for SAM-2: filename=sam_2-1.0-0.editable-py3-none-any.whl size=13859 sha256=e728696cc17d5b8f1c9079f26e3c72724d051d960d4df754d594c6d44d5d3c18 Stored in directory: /tmp/pip-ephem-wheel-cache-c72yvyk9/wheels/75/09/36/18e1955270a9612e21cec33bacf5c6167361d1c12e0a1c5064 DEPRECATION: Building 'iopath' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'iopath'. Discussion can be found at https://github.com/pypa/pip/issues/6334 Building wheel for iopath (setup.py): started Building wheel for iopath (setup.py): finished with status 'done' Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31528 sha256=58310ba1385a7e0d86b0aa9e6652ea84da4e107d9c87ab38d4d43daa430a8540 Stored in directory: /home/user/.cache/pip/wheels/9a/a3/b6/ac0fcd1b4ed5cfeb3db92e6a0e476cfd48ed0df92b91080c1d Successfully built SAM-2 iopath Installing collected packages: portalocker, iopath, torchvision, SAM-2 Successfully installed SAM-2-1.0 iopath-0.1.10 portalocker-3.1.1 torchvision-0.22.1 [SAM-2 Debug] Installation completed [SAM-2 Debug] Added /home/user/app/segment-anything-2 to Python path [SAM-2 Debug] Attempting to import SAM-2 modules again... [SAM-2 Debug] Installation failed: No module named 'sam2.build_sam' [SAM-2 Debug] Error type: ModuleNotFoundError SAM-2 Status: SAM-2 installation failed: No module named 'sam2.build_sam' Traceback (most recent call last): File "/home/user/app/app.py", line 202, in <module> from sam2.build_sam import build_sam2 ModuleNotFoundError: No module named 'sam2.build_sam'
Container logs:
Fetching error logs...