Ask Your Question
1

Sage crashing on Notebook startup

asked 2022-03-29 17:58:04 +0100

arjsavage gravatar image

I've installed SageMath 9.3 on Windows 10 using the Windows Installer available on github. However, every time I start a notebook, it crashes. (Side note: I have successfully installed and used SageMath on another computer.) I've tried opening a notebook by running "SageMath 9.3 Notebook" from the start menu, and also by typing the command "sage --notebook=jupyter" from the SageMath 9.3 shell. Both of these open Jupyter in my browser. But when I try to open a SageMath notebook, I get the following error in the shell:

[W 11:44:21.592 NotebookApp] 404 GET /nbextensions/jupyter_jsmol/extension.js?v=20220329114408 (::1) 12.30ms referer=http//localhost:8888/notebooks/OneDrive%20-%20University%20of%20Ottawa/Sage%20notebooks/Representations.ipynb /opt/sagemath-9.3/src/bin/sage-python: line 2: 2473 Illegal instruction (core dumped) sage -python "\$@"

(sage-sh) Savage@Savage-STEM:~\$

Unhandled SIGILL: An illegal instruction 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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-03-29 20:51:46 +0100

slelievre gravatar image

updated 2022-03-29 20:55:25 +0100

Try installing Windows Subsystem for Linux and building Sage from source there.

See the instructions at

One benefit is you might get a faster Sage that way.

If you prefer the installer, it is known that the installer fails on some computers.

In this is the case for one of your computers, one option is to install

edit flag offensive delete link more

Comments

I installed WSL and tried to build Sage from source, but it got a bit too complicated for me. So then I took your second suggestion, installing SageMath 9.2, and it worked. Thanks!

arjsavage gravatar imagearjsavage ( 2022-03-29 22:32:54 +0100 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-03-29 17:58:04 +0100

Seen: 542 times

Last updated: Mar 29 '22