runtime error

Collecting git+https://github.com/facebookresearch/detectron2.git Cloning https://github.com/facebookresearch/detectron2.git to /tmp/pip-req-build-2rxthuoy Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/detectron2.git /tmp/pip-req-build-2rxthuoy Resolved https://github.com/facebookresearch/detectron2.git to commit 70f454304e1a38378200459dd2dbca0f0f4a5ab4 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error Ɨ python setup.py egg_info did not run successfully. ā”‚ exit code: 1 ā•°ā”€> [6 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-req-build-2rxthuoy/setup.py", line 10, in <module> import torch ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed Ɨ Encountered error while generating package metadata. ā•°ā”€> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip available: 22.3.1 -> 24.1 [notice] To update, run: pip install --upgrade pip Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> from detectron_utils import detectron_process_image ImportError: cannot import name 'detectron_process_image' from 'detectron_utils' (/home/user/app/detectron_utils.py)

Container logs:

Fetching error logs...