If I am not wrong it works from a terminal and also if one uses either sage -m jupyter or sage -n jupyterlab. It is possible to use it directly from jupyter or jupyter lab if the sagemath kernel is availabe to jupyter, e.g. at /usr/local/share/jupyter/kernels or .local/share/jupyter/kernels, and the nbextensions (jsmol,mathjax threejs) linked should not interfere your jupyter installation.. It may be more complicated using jupyterhub; at least for threejs, if I am not wrong something must be changed in order to look for the non-found files in external places since jupyterhub is not able to find them locally. At some point I was able to use it changing some sage files but I do not know how to do it properly.
El lunes, 19 de noviembre de 2018, 3:38:49 (UTC+1), Kolen Cheung escribió: > > I tried to install threejs by jupyter labextension install jupyter-threejs > but it still doesn’t work. I tried on both jupyter and jupyterlab. I didn’t > tried symlinking the directories you mentioned though, because I don’t want > to mess up the virtual environments created by conda (my jupyterlab > environment is created using conda.) > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.