runtime error
Exit code: 1. Reason: build_wheel return hook(config_settings) File "/tmp/pip-build-env-m37zd2kc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-m37zd2kc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-m37zd2kc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-m37zd2kc/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) # noqa: S102 # exec is intentional here File "<string>", line 5, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'mmcv' when getting requirements to build wheel Trying alternative: https://download.openmmlab.com/mmcv/dist/cu121/torch2.13/index.html Trying alternative: https://download.openmmlab.com/mmcv/dist/cu118/torch2.13/index.html Trying alternative: https://download.openmmlab.com/mmcv/dist/cu117/torch2.13/index.html β mmcv installed π¦ Installing mmdet... β mmdet installed π Verifying mmcv extensions... β οΈ Warning: mmcv extensions may not be fully loaded: No module named 'mmcv' Traceback (most recent call last): File "/app/app.py", line 140, in <module> import spaces File "/usr/local/lib/python3.10/site-packages/spaces/__init__.py", line 17, in <module> from .zero.decorator import GPU File "/usr/local/lib/python3.10/site-packages/spaces/zero/__init__.py", line 24, in <module> raise RuntimeError( RuntimeError: CUDA has been initialized before importing the `spaces` package. Try importing `spaces` before any other CUDA-related package.
Container logs:
Fetching error logs...