Ask Your Question
0

"The kernel appears to have died.It will restart automatically." No graphs plotting

asked 2024-02-13 23:08:03 +0100

Zoi gravatar image

I am facing a problem with the Sagemath 9.3. I can plot any graph (even a simple one). Every time O am trying to plot a graph the following message emerges "The kernel appears to have died.It will restart automatically." Cheking at the Notebook sagemath, when this message appears at jupyter, the following message appears also at the notebook: 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. KernelRestarter: restarting kernel (1/5), keep random ports WARNING:root:kernel 1d12f357-90d2-474b-a039-5ad3751bb50f restarted The problem is not at the function, it seems to be at the plotting library. I even uninstalled the sagemath (along with the installer and the other files) and i installed it again but when i tried to run my file (and a new one with a simple plot) kernel "died" again. Also, I changed the browser from Chrome to Microsoft Edge but it di not worked. What can i do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-02-14 11:44:16 +0100

rburing gravatar image

Try installing the latest version of SageMath (in WSL2):

SageMath 9.3 is almost 3 years old. As I recall from being a teaching assistant in a course using SageMath at the time, some of the included package versions (related to numerics/numpy/plotting) have bugs that prevent them from working on some CPUs. Another alternative is to download an even older version of SageMath, but as you can imagine this is really not recommended.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2024-02-13 23:08:03 +0100

Seen: 687 times

Last updated: Feb 14