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.