python: Process finished with exit code 1 when using PyCharm and PyQt5

后端 未结 3 2044
不思量自难忘°
不思量自难忘° 2020-12-10 14:50

I have three Python(3.4.3) scripts. One of them is for controlling the .ui file generated by PyQt5. When I run the GUI program it accepts all the data and everything and whe

3条回答
  •  渐次进展
    2020-12-10 15:17

    I had the same problem in pycharm, python 3.8, qt5. The stacktrace was never shown for qt errors inside pycharm; running the file from cmd the error was shown correctly instead.

    I solved by doing the following: open Edit Configurations of the file you want to run, scroll down and check the box Emulate terminal in output console.

提交回复
热议问题