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....

3
Avatar
Permanently deleted user

I have the same problem, someone help us please.

1

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. 

0

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

from PyQt5.QtWidgets import QWidget

on instantiating a QWidget Pycharm terminates with: Process finished with exit code -1073740791 (0xC0000409)

Problem not found in IDLE

0
Have you tried running in the terminal the same command that PyCharm runs? You can just copy it from the Run window.
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.
0

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. 

0
Thank you for letting me know! And no worries, it happens to all of us 🙂
0

请先登录再写评论。