pycharm运行pyqt5报错‘finished with exit code -1073740791 (0xC0000409)

用pycharm运行由 qt designer 设计的gui,已经填充一些槽函数代码,GUI的首页可以显示,一旦点击按钮就会程序退出,出现代码报错代码‘finished with exit code -1073740791 (0xC0000409)’

pycharm打开,run > edit configuration > emulate terminal in output console勾上,再运行一次,错误就马上发现。。。

大哥。。可以解决你采纳啊

https://blog.csdn.net/qq_26761495/article/details/80552411

试过了, Todomaru的方法可以解决

print('我也不知道')