Ask Your Question

Cannot use SageMath notebooks

asked 2021-10-01 00:24:29 +0100

plusunim gravatar image

updated 2022-08-15 08:08:12 +0100

FrédéricC gravatar image

I am having trouble using SageMath notebook. I think it all started when I was installing NbExtensions, while in the process of installing the dependency lxml which crashed. I got a full screen of red paths, errors and swearing. I think the installation is half-baked and is causing troubles.

The last bit of text from the notebook server reads:

Or copy and paste one of these URLs:
[I 00:15:33.632 NotebookApp] Creating new notebook in
[W 00:15:41.059 NotebookApp] 404 GET /nbextensions/jupyter_jsmol/extension.js?v=20211001001508 ( 54.35ms referer=http://localhost:8888/notebooks/Untitled8.ipynb?kernel_name=sagemath

after which the notebook server closes silently on its own and very quickly.

I have just installed SageMath 9.3 for Windows. I have uninstalled it and reinstalled it, while trying to delete folders such as .sage, restarting the PC to make a clean install. I think I touched all the usual troubleshooting bases.

I would appreciate some guidance as I regularly use these workbooks and I have no clue how to go about it.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2022-08-13 05:49:56 +0100

ChristopherChemist gravatar image


Did you ever figure out how to make sage work? Since you are on Windows, I'd try removing the linux distribution and reinstalling it, presumably using the Windows Subsytem for Linux, wsl2. That assumes you don't have much to save in your current setup.


edit flag offensive delete link more

answered 2022-09-10 08:48:41 +0100

ortollj gravatar image
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

1 follower


Asked: 2021-10-01 00:21:26 +0100

Seen: 412 times

Last updated: Sep 10 '22