보통 pip install opencv-python한 뒤, cv2를 사용하려고 하던 차에 발생하는 에러. 이름에서 알 수 있다시피 뭐가 안깔려 있어서 그럼ImportError: libGL.so.1: cannot open shared object file: No such file or directoryImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory 보통 위 오류가 나면 아래 오류도 뒤이어 따라 난다. 해결법sudo apt-get install -y libgl1-mesa-glxsudo apt-get install -y libglib2.0-0 이 두 개를 깔아주면 해결.