The problem is caused by the imageai library, which in turn forces the dependency on opencv-python>=4.1.2
imageai
opencv-python>=4.1.2
If you have to use this library, this should fix the error:
libgl1 libglib2.0-0