Installing extension about Jupyter in a Docker's SageMath installation

asked 2023-05-11 10:15:06 +0200

Cyrille gravatar image

updated 2023-05-11 10:53:23 +0200

FrédéricC gravatar image

This question could be ask on a Jupyter forum, but I think it concerns all the SageMAth user under Docker.

When I use a Docker container in SageMath, I find the url and if I click on it my navigator opens. Then I can use pip from inside the navigator. And it works. For instance

pip install -e jupyter_contrib_nbextensions


Then I should type the following command

jupyter contrib nbextension install --user

And now I encounter a huge problem. Im am inside Jupyter so the command has no sens. So I come back to docker and see that I can open the container in a Terminal. But unfortunately the terminal doesn't know Jupyter. Can some one explain how to do this ?

edit retag flag offensive close merge delete