I just tried to test the newly released version of PySide2 (5.11) on Windows 10, 64 bit version. But the \"Hello World\" example does not work. I am using Python 3.6 with Py
Try This :
import sys,os import PySide2 dirname = os.path.dirname(PySide2.__file__) plugin_path = os.path.join(dirname, 'plugins', 'platforms') os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path # code ....... # .......