Pycharm使用PyQt5报错: Process finished with exit code

这两天用PyQt5做毕设的GUI,报了几个错:
Process finished with exit code -1073741819 (0xC0000005)
Process finished with exit code -1073740791 (0xC0000409)

一、Process finished with exit code -1073741819 (0xC0000005)

打开Pycharm菜单,打开File – Settings – Build, Execution, Deployment – Python Debugger,取消勾选PyQt compatible
Pycharm使用PyQt5报错: Process finished with exit code
参考:https://blog.****.net/wangguan9527/article/details/82845409

二、Process finished with exit code -1073740791 (0xC0000409)

使用try except报错
Pycharm使用PyQt5报错: Process finished with exit code
Pycharm使用PyQt5报错: Process finished with exit code