GroundingDINO icon indicating copy to clipboard operation
GroundingDINO copied to clipboard

why。。。。

Open tangbob opened this issue 1 year ago • 3 comments

PS G:\BaiduSyncdisk\AIproject\GroundingDINO> pip install -e . Looking in indexes: https://pypi.org/simplehttps://pypi.doubanio.com/simple, https://pypi.tuna.tsinghua.edu.cn/simple Obtaining file:///G:/BaiduSyncdisk/AIproject/GroundingDINO Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... error error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "C:\Program Files\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Program Files\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Program Files\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 132, in get_requires_for_build_editable return hook(config_settings) File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-ftmx40ze\overlay\Lib\site-packages\setuptools\build_meta.py", line 450, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-ftmx40ze\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-ftmx40ze\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires self.run_setup() File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-ftmx40ze\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-ftmx40ze\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 27, in ModuleNotFoundError: No module named 'torch' [end of output]

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

× Getting requirements to build editable 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.

tangbob avatar Jul 14 '23 10:07 tangbob

same error!! Cannot solve it until now

xiaodangao137 avatar Jul 18 '23 12:07 xiaodangao137

run pip install -r requirement.txt before pip install -e .

zhangjingxian1998 avatar Jul 25 '23 09:07 zhangjingxian1998

Still the same error after pip install -r requirement.txt

SimJav avatar Apr 10 '24 13:04 SimJav