
The above is the error message
The solution is
Before instantiating with QApplication() add
QApplication.addLibraryPath(“PySide2 file location” + ‘/PySide2/Plugins/’)

The above is the error message
The solution is
Before instantiating with QApplication() add
QApplication.addLibraryPath(“PySide2 file location” + ‘/PySide2/Plugins/’)