遇到问题: pyqt5改成pyqt6后报错 DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead super().init() 解决办法 升级PYQT6 pip install --upgrade pyqt6 再次运行程序,报错消失