Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this.

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.

It's also possible to install the SageMath kernel into your system install of jupyter. You can do so by following the instructions here, with appropriate modifications for windows.

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this.

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.

It's also possible to install the SageMath kernel into your system install of jupyter. jupyter, though this requires more fiddling. You can do so by following the instructions here, with appropriate modifications for windows. windows.

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this.

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.

It's You could also possible to install try installing the SageMath kernel into your system install of jupyter, though this requires more fiddling. You can do so jupyter by following the instructions here, with appropriate modifications for windows.Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this.

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.


don't try the following for now, it turns out that there are problems loading SageMath's jsmol nbextension currently into other installs of jupyter, see this issue

You could also try installing the SageMath kernel into jupyter by following the instructions here, with appropriate modifications for Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this.this:

kernel picture

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.default.

update I just tested jmol in sage -n jupyter and see the same thing that you do where the submenus are unable to be displayed. I believe it has to do with this previous issue.


don't try the following for now, it turns out that there are problems loading SageMath's jsmol nbextension currently into other installs of jupyter, see this issue

You could also try installing the SageMath kernel into jupyter by following the instructions here, with appropriate modifications for Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.

I suspect that what is happening is that when you run jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this:

kernel picture

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.

update I just tested jmol in sage -n jupyter and see the same thing that you do where the submenus are unable to be displayed. I believe it has to do with we are running into this previous issue.


don't try the following for now, it turns out that there are problems loading SageMath's jsmol nbextension currently into other installs of jupyter, see this issue

You could also try installing the SageMath kernel into jupyter by following the instructions here, with appropriate modifications for Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.

I suspect can confirm that what there is happening is that when you run an issue here with SageMath and jupyter notebook, jupyter is running a Python kernel, not the SageMath kernel so that the SageMath commands are not understood. The kernel that jupyter is using is typically displayed in the top right, and you want to see something like this:but I don't have any solution, unfortunately.

kernel picture

Have you tried running sage -n jupyter? This opens SageMath's own installation of the jupyter notebook and will use the SageMath kernel by default.

update I just tested jmol in sage -n jupyter on macOS and see the same thing that you do where the submenus are unable to be displayed. I believe we are running into this previous issue.


don't try the following for now, it turns out that there are problems loading SageMath's jsmol nbextension currently into other installs of jupyter, see this issue

You could also try installing the SageMath kernel into jupyter by following the instructions here, with appropriate modifications for Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.

I can confirm that there is an issue here with SageMath and jupyter but I don't have any solution, unfortunately.

I just tested jmol in sage -n jupyter on macOS and see the same thing that you do where the submenus are unable to be displayed. I believe we are running into this previous issue.


don't try the following for now, it turns out that there are problems loading SageMath's jsmol nbextension currently into other installs of jupyter, see this issueis probably not relevant

You could also try installing the SageMath kernel into jupyter by following the instructions here, with appropriate modifications for Windows. Note that this requires more fiddling and you might find that interact elements don't work by default.