GUI written in python (with PyQT/PySide2) does not launch
I just found the answer in this stackoverflow question. For some weird reason, one has to add the following piece of code at the beginning of the script.
import os
os.environ['QT_MAC_WANTS_LAYER'] = '1'


And that worked for me