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
Don't understand what is the issue. Followed the steps mentioned in Readme
(venv) C:\tut\vid2densepose>pip install git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose
Cloning https://github.com/facebookresearch/detectron2 (to revision main) to c:\users\nitin\appdata\local\temp\pip-req-build-g93v9uik
Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/detectron2 'C:\Users\nitin\AppData\Local\Temp\pip-req-build-g93v9uik'
Resolved https://github.com/facebookresearch/detectron2 to commit 92ae9f0b92aba5867824b4f12aa06a22a60a45d3
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
Traceback (most recent call last):
File "<string>", line 6, in <module>
ModuleNotFoundError: No module named 'torch'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\tut\vid2densepose\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\tut\vid2densepose\venv\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:\tut\vid2densepose\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\nitin\AppData\Local\Temp\pip-build-env-uixtj06r\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\nitin\AppData\Local\Temp\pip-build-env-uixtj06r\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\nitin\AppData\Local\Temp\pip-build-env-uixtj06r\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\nitin\AppData\Local\Temp\pip-build-env-uixtj06r\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 8, in <module>
Exception:
You must install PyTorch prior to installing DensePose:
pip install torch
For more information:
https://pytorch.org/get-started/locally/
[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 wheel 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.
Don't understand what is the issue. Followed the steps mentioned in Readme
pip list
The text was updated successfully, but these errors were encountered: