[Solved] Import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory

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

Solution:

pip install opencv-python
pip install opencv-python-headless

Read More: