I am upgrading from Python 2.7 to Python 3.6 and from PySide to PySide2. I started by trying to get the \"Hello World\" from the \"Getting Started\" site (https://doc-snapsh
Fixed this problem on my Mac under python3.6 by adjusting the magic function:
def magic(self):
self.text.setText(random.choice(self.hello))
self.repaint()
The self.repaint() is needed for some reason, but at least works.
If you are running PySide2==5.15.0 then you need to upgrade it to 5.15.1 and thats what solved my problem.
Command to upgrade PySide2:
pip/pip3 install --upgrade PySide2