CV2 - ImportError: libGL.so.1

The problem is caused by the imageai library, which in turn forces the dependency on opencv-python>=4.1.2


If you have to use this library, this should fix the error:

packages.txt

libgl1
libglib2.0-0