Hugging Face's logo
nguyendu392
/
Runtime error

runtime error

t run successfully. β”‚ exit code: 1 ╰─> [16 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-install-6ukq04sa/mmcv-full_10106da4b610486aa1b5021728949669/setup.py", line 126, in <module> import cv2 # NOQA: F401 File "/home/user/.local/lib/python3.10/site-packages/cv2/__init__.py", line 190, in <module> bootstrap() File "/home/user/.local/lib/python3.10/site-packages/cv2/__init__.py", line 184, in bootstrap if __load_extra_py_code_for_module("cv2", submodule, DEBUG): File "/home/user/.local/lib/python3.10/site-packages/cv2/__init__.py", line 37, in __load_extra_py_code_for_module py_module = importlib.import_module(module_name) File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/home/user/.local/lib/python3.10/site-packages/cv2/typing/__init__.py", line 169, in <module> LayerId = cv2.dnn.DictValue AttributeError: module 'cv2.dnn' has no attribute 'DictValue' [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 -> 23.2.1 [notice] To update, run: python -m pip install --upgrade pip 2023-10-13 08:24:48 URL:https://download.openmmlab.com/mmocr/data/wildreceipt.tar [185323520/185323520] -> "wildreceipt.tar" [1] Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> from mmocr.utils.ocr import MMOCR File "/home/user/app/mmocr/__init__.py", line 4, in <module> import mmcv ModuleNotFoundError: No module named 'mmcv'

Container logs:

Fetching error logs...