0

Everything worked fine with my code 3 days ago, suddenly I get this error:

'Process finished with exit code -1073741819 (0xC0000005)' 

when the run gets to this line: plt.savefig(file.png)

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
HadarG
  • 1
  • 1
    You should read [ask] and provide a [mre] in order to help us diagnose the problem. – mkrieger1 Nov 04 '21 at 19:54
  • always put full error message (starting at word "Traceback") in question (not comment) as text (not screenshot, not link to external portal). There are other useful information. – furas Nov 04 '21 at 21:24
  • @furas In this case, that is the full error code. There is no TraceBack. The kernel just crashes; it's the nature of this particular issue. Some IDE's don't even give this much information, the kernel will restart and a new prompt appears without generating any other output. – Trenton McKinney Nov 04 '21 at 21:59
  • better test code without IDE - directly in console/terminal `python script.py`. Maybe it will display more information. Maybe problem is only IDE, not code. – furas Nov 05 '21 at 00:11
  • @furas in terminal, it briefly shows a blank interactive matplotlib window, which immediately closes, and returns to a prompt. No errors of any kind. The effects in multiple programming environments are documented. – Trenton McKinney Nov 05 '21 at 02:51

0 Answers0