How to fix "Process finished with exit code -1073740791 (0xC0000409) in Pycharm"
I am trying to build Download Manager Using PyQt5 and Qt Designer and also using Pycharm. When i run this code in Pycharm then get 'Process finished with exit code -1073740791 (0xC0000409)'. Please Help me....
请先登录再写评论。
I have the same problem, someone help us please.
Hello,
Do you get the same error running the same code out of PyCharm in a command line or terminal?
If no, please upload a code example to the FTP
https://uploads.services.jetbrains.com/ and please let me know the filename.
same problem on PyCharm 2023.1 Professional Build #PY-231.8109.197, built on March 29, 2023
I've tried both PyQt5 and PyQt6, upon import
on instantiating a QWidget Pycharm terminates with: Process finished with exit code -1073740791 (0xC0000409)
Problem not found in IDLE
The error code itself is coming from Windows, not PyCharm, so it could be that the process just crashed or was terminated by another app.
Sorry for the stupid question, in my case the issue was not related to PyCharm at all. I simply had instantiated a QApplication in IDLE and had none in the PyCharm python script, of course you cannot create a QWidget without a previous QApplication, I believe this was the problem, because now everything works.