Ask Your Question

Revision history [back]

Jupyter notebook needs javascript

Hi,

I am new to both SageMath and Linux. Sorry if this question is too simple. I installed SageMath on my 8 GB Raspberry Pi 5. I can run sage in the command line, but if I try to open a notebook, I get the following:

Jupyter Notebook requires JavaScript. Please enable it to proceed.

Jupyter Notebook (BUTTON) Quit (BUTTON) Logout

 * Files
 * Running
 * Clusters

Select items to perform actions on them. (BUTTON) Duplicate Duplicate selected (BUTTON) Rename Rename selected (BUTTON) Move Move selected (BUTTON) Download Download selected (BUTTON) Shutdown (NORMAL LINK) Use right-arrow or <return> to activate. Arrow keys: Up and Down to move. Right to follow a link; Left to go back. H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list

I went on the Raspberry Pi Facebook page and was told to install Java.

I used the command sudo apt install default-jdk and then got the following:

charles@raspberrypi:~ $ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment (build 17.0.10+7-Debian-1deb12u1) OpenJDK 64-Bit Server VM (build 17.0.10+7-Debian-1deb12u1, mixed mode) charles@raspberrypi:~ $

I rebooted and tried again with the same result, so I ran sudo apt purge sagemath, rebooted again to be certain, then ran sudo apt install sagemath. However I still get the same message that Jupyter needs JavaScript enabling.

Any assistance would be much appreciated. I would like SageMath to work on my Raspberry.

Thank you in advance.