Ask Your Question

Revision history [back]

I can't generate graphs."The kernek appears to have died"

I have installed Sage on my Windows 10 machine

SageMath version 9.3, Release Date: 2021-05-09                     
Using Python 3.7.10.

I tried to plot something simple like


I received this message in Jupyter Notebook:

Kernel Restarting.
The kernel appears to have died. It will restart automatically.

And this message SageMath 9.3 Notebook Server

Unhandled SIGSEGV: A segmentation fault occurred. 
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

[I 18:19:09.280 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
WARNING:root:kernel 7bc88a4e-b9a1-488d-bbe6-fa359a6758ab restarted

I have the same problem using matplotlib , for example:

import matplotlib.pyplot as plt
import numpy as np
t = np.linspace(0,1,10)