Closed kohei-noda-qcrg closed 3 months ago
PS C:\Users\none> pip list | findstr "PySide PyQt"
PyQt5 5.15.10
PyQt5-Qt5 5.15.2
PyQt5-sip 12.13.0
PyQt6 6.7.0
PyQt6-Qt6 6.7.2
PyQt6-sip 13.6.0
PySide6 6.6.3.1
PySide6_Addons 6.6.3.1
PySide6_Essentials 6.6.3.1
It seems that we no longer need to use qtpy. Because if we use the qtpy, we need to take care of deprecated and new attributes for all qt python bindings. It is painful to manage this, at least for us as a small project.
This package installs qtpy and PySide6 automatically
However, users who have already installed PyQt5, either manually or due to other package dependencies, will fail with the command to start the sum_dirac_dfcoef process.
qtpy uses PyQt5 as default unless users set QT_API environment variable to pyside6 or pyqt6.
The following is the screenshot that shows this error.