docker환경에서 opencv-python 사용 시 Error

Chanyong·2022년 9월 6일
0

TIL

목록 보기
4/7

1.

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

해결

sudo apt-get install libgl1-mesa-glx


2.

ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

해결

sudo apt-get install libglib2.0-0


Docker 환경에서 pip install opencv-python 으로 opencv 설치 후 실행하면 나타난 에러들이었다.

profile
AI Accelerator 연구

0개의 댓글