I used to install opencv on my server using the conda yml file, as shown below
name: project_environment
dependencies:
- python=3.6.2
- pip=20.2.4
- pip:
  - pillow
  - numpy
  - opencv-python-headless==4.5.3.56
  - torch
  - torchvision
  - face-alignment==1.3.4
  - tensorflow==2.5.0
  - cmake
  - dlib
  
channels:
- anaconda
- conda-forge
Earlier, it used to work normally, but yesterday when i ran the script, i got the error
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
This error was supposed to come if I install python-opencv, not in the headless version. How can i debug, which package is causing the issue.
 
    