Pycharm debugger can't start: finished with exit code -1073741819 (0xC0000005)


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

asked on Stack Overflow Jun 1, 2018 by BOB FLORMAM • edited Jun 1, 2018 by vealkind

4 Answers


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 !

answered on Stack Overflow Jun 8, 2018 by Fabrice Leray

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

answered on Stack Overflow Oct 12, 2018 by emher

Similar to above I've encountered this with a range of packages with pyCharm--usually closing and opening pyCharm fixes the issue (updating pyCharm version).

If that doesn't work, I methodically update all python packages.

answered on Stack Overflow May 24, 2019 by Bjc

I got the same error when running PyCharm debugger with code that includes following:

from pympler import muppy
all_objects=muppy.get_objects()  # this method causes pydev debugger exit

It was fine if execute the same piece of code through PyCharm in non-debug (Run) mode. Disabled the above code in debug mode, issue resolved.

Environment: PyCharm Community 2019.3, Anaconda 3, Python 3.7.3, pympler 0.7, Windows 10 Enterprise

answered on Stack Overflow Dec 13, 2019 by Jonathan L • edited Dec 13, 2019 by Jonathan L

User contributions licensed under CC BY-SA 3.0