luca-medeiros / lang-segment-anything

SAM with text prompt
Apache License 2.0
1.54k stars 168 forks source link

Cannot install requirements #4

Closed rohanopalai closed 1 year ago

rohanopalai commented 1 year ago

pip install -e .

Obtaining file:///Users/rohanrony/Documents/codeEnv/sam/lang-segment-anything Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done Collecting groundingdino@ git+ssh://git@github.com/IDEA-Research/GroundingDINO.git Cloning ssh://@github.com/IDEA-Research/GroundingDINO.git to /private/var/folders/n2/h8y026vd7b3dnls6bt6xq70r0000gn/T/pip-install-3mgmt814/groundingdino_cf5f9106ff824b6689ce9f7436d0ab93 Running command git clone --filter=blob:none --quiet 'ssh://@github.com/IDEA-Research/GroundingDINO.git' /private/var/folders/n2/h8y026vd7b3dnls6bt6xq70r0000gn/T/pip-install-3mgmt814/groundingdino_cf5f9106ff824b6689ce9f7436d0ab93 git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet 'ssh://****@github.com/IDEA-Research/GroundingDINO.git' /private/var/folders/n2/h8y026vd7b3dnls6bt6xq70r0000gn/T/pip-install-3mgmt814/groundingdino_cf5f9106ff824b6689ce9f7436d0ab93 did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet 'ssh://****@github.com/IDEA-Research/GroundingDINO.git' /private/var/folders/n2/h8y026vd7b3dnls6bt6xq70r0000gn/T/pip-install-3mgmt814/groundingdino_cf5f9106ff824b6689ce9f7436d0ab93 did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

luca-medeiros commented 1 year ago

@rohanopalai As your error msg says

[git@github.com](mailto:git@github.com): Permission denied (publickey).
fatal: Could not read from remote repository.

You probably don't have an ssh key setup properly. Might wanna try installing groundingdino and all the requirements separately.

luca-medeiros commented 1 year ago

@rohanopalai Updated dependencies from ssh to https