Pycharm debugger can't start: finished with ex

2019-05-22 11:50发布

After reinstalling anaconda, I set up a new Pycharm project. When I debug one of my python scripts it get this error:

pydev debugger: process 12636 is connecting
Process finished with exit code -1073741819 (0xC0000005)

This only happens when I debug. Any advice?

For reference, these are the software versions I am currently using:

Python version: 3.5
Pycharm version: 2017.3
Anaconda Navigator version:1.8.7

2条回答
霸刀☆藐视天下
2楼-- · 2019-05-22 12:32

In my case, updating the pyqt4 package (precompiled version) solved the issue.

查看更多
爷、活的狠高调
3楼-- · 2019-05-22 12:36

Same problem as you Bob.

Here is my workaround (not a complete fix but it does the job) :

Copy/paste the entire sites-packages folder from the anaconda (or miniconda => works for me too) to the default python interpreter and switch to this default python.exe interpreter inside your project (Settings -> Project Interpreter).

For example overwrite the folder C:\Miniconda3\Lib\site-packages to C:\Users\ YOUR_ACCOUNT\venv\Lib\site-packages

After that run AND debug modes are both available.

Hope this help !

查看更多
登录 后发表回答