Solves the following error:
" File "/usr/lib/python3/dist-packages/pivy/sogui.py", line 122, in init
SoGui_Quarter_Wrapper.qApp = QtWidgets.QApplication(sys.argv)
RuntimeError: Please destroy the QApplication singleton before creating a new QApplication instance."
Without this change, the existing singleton of QApplication prevents a new window to open after a previous one has been closed. This solution works and has been suggested online for PySide2 several times.
Solves the following error: " File "/usr/lib/python3/dist-packages/pivy/sogui.py", line 122, in init SoGui_Quarter_Wrapper.qApp = QtWidgets.QApplication(sys.argv) RuntimeError: Please destroy the QApplication singleton before creating a new QApplication instance."
Without this change, the existing singleton of QApplication prevents a new window to open after a previous one has been closed. This solution works and has been suggested online for PySide2 several times.