yolov7 inference code를 돌리는 과정에서 error 발생
Traceback (most recent call last):
File "detect.py", line 5, in <module>
import cv2
File "/root/anaconda3/envs/yolov7/lib/python3.8/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/root/anaconda3/envs/yolov7/lib/python3.8/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/root/anaconda3/envs/yolov7/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
$ sudo apt-get update
$ sudo apt-get install libgl1-mesa-glx