Drich
Drich
RRailway
Created by Drich on 11/29/2023 in #✋|help
Error in Installing Dependencies from my requirements.txt
File "main.py", line 1, in <module> from ultralytics import YOLO File "/opt/venv/lib/python3.8/site-packages/ultralytics/init.py", line 5, in <module> from ultralytics.models import RTDETR, SAM, YOLO File "/opt/venv/lib/python3.8/site-packages/ultralytics/models/init.py", line 3, in <module> from .rtdetr import RTDETR File "/opt/venv/lib/python3.8/site-packages/ultralytics/models/rtdetr/init.py", line 3, in <module> from .model import RTDETR File "/opt/venv/lib/python3.8/site-packages/ultralytics/models/rtdetr/model.py", line 10, in <module> from ultralytics.engine.model import Model File "/opt/venv/lib/python3.8/site-packages/ultralytics/engine/model.py", line 8, in <module> from ultralytics.cfg import TASK2DATA, get_cfg, get_save_dir File "/opt/venv/lib/python3.8/site-packages/ultralytics/cfg/init.py", line 10, in <module> from ultralytics.utils import (ASSETS, DEFAULT_CFG, DEFAULT_CFG_DICT, DEFAULT_CFG_PATH, LOGGER, RANK, ROOT, RUNS_DIR, File "/opt/venv/lib/python3.8/site-packages/ultralytics/utils/init.py", line 18, in <module> import cv2 File "/opt/venv/lib/python3.8/site-packages/cv2/init.py", line 181, in <module> bootstrap() File "/opt/venv/lib/python3.8/site-packages/cv2/init.py", line 153, in bootstrap native_module = importlib.import_module("cv2") File "/root/.nix-profile/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: libGL.so.1: cannot open shared object file: No such file or directory This is my error in my project when uploading my code. Please help me how to solve it 😦 Project ID: 9d11e70c-3e17-4804-86f3-c4d8c2ec3e82
3 replies