You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making a great tool for folks to easily implement SAM! I am using a MacBook Pro (Intel processor) and ran into the error below on installation. Would appreciate any assistance!
Best,
Kun
UCSF
(samapi) kunleng@Kuns-MacBook-Pro ~ % python -m pip install git+https://github.com/ksugar/samapi.git
Collecting git+https://github.com/ksugar/samapi.git
Cloning https://github.com/ksugar/samapi.git to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-req-build-lmosy9s0
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/samapi.git /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-req-build-lmosy9s0
Resolved https://github.com/ksugar/samapi.git to commit 914703a
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mobile_sam@ git+https://github.com/ksugar/MobileSAM.git (from samapi==0.6.1)
Cloning https://github.com/ksugar/MobileSAM.git to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/mobile-sam_3ae06ccdfc4042fbb1a09b3827480bb0
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/MobileSAM.git /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/mobile-sam_3ae06ccdfc4042fbb1a09b3827480bb0
Resolved https://github.com/ksugar/MobileSAM.git to commit 41ac534a20a4779fab4f8c84e158ca7c7b40ff26
Preparing metadata (setup.py) ... done
Collecting sam2@ git+https://github.com/ksugar/segment-anything-2@support-non-cuda (from samapi==0.6.1)
Cloning https://github.com/ksugar/segment-anything-2 (to revision support-non-cuda) to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/sam2_86192826f71646b68cc6ccfc01581ad2
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/segment-anything-2 /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/sam2_86192826f71646b68cc6ccfc01581ad2
Running command git checkout -b support-non-cuda --track origin/support-non-cuda
Switched to a new branch 'support-non-cuda'
branch 'support-non-cuda' set up to track 'origin/support-non-cuda'.
Resolved https://github.com/ksugar/segment-anything-2 to commit 00ff21e508132e3b351d8c2c4b713970b03df001
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
Collecting setuptools>=61.0
Downloading setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
ERROR: Could not find a version that satisfies the requirement torch>=2.3.1 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2)
ERROR: No matching distribution found for torch>=2.3.1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for making a great tool for folks to easily implement SAM! I am using a MacBook Pro (Intel processor) and ran into the error below on installation. Would appreciate any assistance!
Best,
Kun
UCSF
(samapi) kunleng@Kuns-MacBook-Pro ~ % python -m pip install git+https://github.com/ksugar/samapi.git
Collecting git+https://github.com/ksugar/samapi.git
Cloning https://github.com/ksugar/samapi.git to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-req-build-lmosy9s0
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/samapi.git /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-req-build-lmosy9s0
Resolved https://github.com/ksugar/samapi.git to commit 914703a
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mobile_sam@ git+https://github.com/ksugar/MobileSAM.git (from samapi==0.6.1)
Cloning https://github.com/ksugar/MobileSAM.git to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/mobile-sam_3ae06ccdfc4042fbb1a09b3827480bb0
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/MobileSAM.git /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/mobile-sam_3ae06ccdfc4042fbb1a09b3827480bb0
Resolved https://github.com/ksugar/MobileSAM.git to commit 41ac534a20a4779fab4f8c84e158ca7c7b40ff26
Preparing metadata (setup.py) ... done
Collecting sam2@ git+https://github.com/ksugar/segment-anything-2@support-non-cuda (from samapi==0.6.1)
Cloning https://github.com/ksugar/segment-anything-2 (to revision support-non-cuda) to /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/sam2_86192826f71646b68cc6ccfc01581ad2
Running command git clone --filter=blob:none --quiet https://github.com/ksugar/segment-anything-2 /private/var/folders/1v/tq470sc561vbjlwxjph3kbmm0000gn/T/pip-install-ybt1e0uw/sam2_86192826f71646b68cc6ccfc01581ad2
Running command git checkout -b support-non-cuda --track origin/support-non-cuda
Switched to a new branch 'support-non-cuda'
branch 'support-non-cuda' set up to track 'origin/support-non-cuda'.
Resolved https://github.com/ksugar/segment-anything-2 to commit 00ff21e508132e3b351d8c2c4b713970b03df001
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
Collecting setuptools>=61.0
Downloading setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
ERROR: Could not find a version that satisfies the requirement torch>=2.3.1 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2)
ERROR: No matching distribution found for torch>=2.3.1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: