JupyterHub Integration

59 views
Skip to first unread message

Arnav

unread,
May 13, 2019, 2:42:49 PM5/13/19
to sage-support
Hello,

I maintain a JupyterHub service for my department (currently Julia and Python), and a professor has asked us to support Sage. I've played around with it, but without much luck; the issue seems to be that Sage's Python interferes with the main JupyterHub. I can't find a quick fix.

Does anyone have a working setup (say, in a Dockerfile) that I could look at for this? If it helps, the precise setup we're using for our Hub is here: https://github.com/arnavs/docker-stacks/blob/julia-after-resize/pims-julia/Dockerfile.

Thanks, and please let me know if this isn't the correct place to post.

--- Arnav

E. Madison Bray

unread,
May 14, 2019, 2:32:52 AM5/14/19
to sage-support
Hi Arnav,

Could you elaborate on "the issue seems to be that Sage's Python interferes with the main Jupyter Hub"?

The way Jupyter works is each kernel is essentially an abstract process that it passes messages between using zeromq, so in principle Sage's Python shouldn't be able to "interfere" with JupyterHub. Not saying it's not possible but it's not obvious what you mean by this.

Pedro A. Garcia

unread,
May 14, 2019, 3:40:21 AM5/14/19
to sage-support
Arnav,
If you are using docker you may want to have a look at

I took that as a starting point for 


But the question is, if you have jupyterhub installed on the server, why you do not simply install sage's kernel?

Hope this helps,
Pedro

Arnav

unread,
May 14, 2019, 10:25:59 PM5/14/19
to sage-support
Thanks all for the information. Will have a look and report back (and see if I can get a more precise sense of the issues I was facing.)
Reply all
Reply to author
Forward
0 new messages