Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 414
BOB FLORMAM Avatar asked Oct 28 '22 11:10

BOB FLORMAM


1 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 !

like image 88
Fabrice Leray Avatar answered Nov 15 '22 05:11

Fabrice Leray