answered 5 years ago
In most installs, Sage has its own copy of python installation (virtual environment). So you have to install the pip packages within that copy by typing in a terminal :
sage -pip install jupyter_contrib_nbextensions