Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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:~ javaversionopenjdkversion"17.0.10"20240116OpenJDKRuntimeEnvironment(build17.0.10+7Debian1deb12u1)OpenJDK64BitServerVM(build17.0.10+7Debian1deb12u1,mixedmode)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.