kernel keeps dying
jagja opened this issue · 2 comments
jagja commented
trying to run the jupyter notebook, the kernel dies usually when matplotlib functions are called.
have tried several suggested workarounds, issue remains.
jhmao697 commented
is your memory enough. I have same problem while dealing with big data model.
Siddharth-Latthe-07 commented
possible soultions for the above issue:-
- Check Matplotlib Backend:-
Certain backends of matplotlib can sometimes cause issues
sample snippet:-
import matplotlib
matplotlib.use('agg') # Or try 'TkAgg', 'Qt5Agg', etc.
import matplotlib.pyplot as plt
- update the version of the dependencies and also check the memory usage
- Also might try running it different env
- If the above doesn't work, try installing it again
Hope this helps
Thanks