Running Jupyterhub on windows

3,646 views
Skip to first unread message

Raian Chaiiro

unread,
Feb 10, 2016, 11:18:28 AM2/10/16
to Project Jupyter
Hello,

I am exploring how to integrate python into my reporting at work and have stumbled upon Jupyterhub as a possible alternative to building a Django/Flask site and hosting it locally. I cannot go beyond the windows ecosystem so I have to make anything work under Windows 7. I've managed to install JupyterHub using Anaconda3 as well as Node/NPM. I'm hoping to just fire up a JupyterHub server, configure several users on my team, and have them access the notebooks for reporting. I know JupyterHub has been deployed to a team before (Berkley 2015) and am curious how to accomplish this under windows for my team.

Thanks!

Thomas Kluyver

unread,
Feb 10, 2016, 11:39:44 AM2/10/16
to Project Jupyter
Hi Raian,

Jupyterhub only supports Unix-y platforms. As far as I know, you can't use it on a Windows server. Sorry about that.

If it were possible to set up a Linux server for the hub, you might be able to run the single user servers on a Windows machine - I don't know how tricky that would be.

Thomas

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/71227e8d-c83b-49f3-acf9-2b8b786ea595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

MinRK

unread,
Feb 11, 2016, 7:49:33 AM2/11/16
to jup...@googlegroups.com
On Wed, Feb 10, 2016 at 5:39 PM, Thomas Kluyver <tak...@gmail.com> wrote:
Hi Raian,

Jupyterhub only supports Unix-y platforms. As far as I know, you can't use it on a Windows server. Sorry about that.

If it were possible to set up a Linux server for the hub, you might be able to run the single user servers on a Windows machine - I don't know how tricky that would be.

Probably easiest is to run the Hub on a linux server (VM or Docker on Windows ought to be fine), and then write a custom Spawner that communicates out to Windows to spawn single-user servers. I do not know how to request to run processes as different users on Windows, which I'm sure is totally different from Unixy systems, but that's the main missing piece.

Even if the Hub were to run on Windows directly, you would need a custom Spawner to handle the "run a program as another user". You would also have to use a non-default Authenticator, such as GitHub OAuth, since the default PAM authenticator also won't work on Windows.

-MinRK
 

Thomas

On 10 February 2016 at 16:18, Raian Chaiiro <nippon...@gmail.com> wrote:
Hello,

I am exploring how to integrate python into my reporting at work and have stumbled upon Jupyterhub as a possible alternative to building a Django/Flask site and hosting it locally. I cannot go beyond the windows ecosystem so I have to make anything work under Windows 7. I've managed to install JupyterHub using Anaconda3 as well as Node/NPM. I'm hoping to just fire up a JupyterHub server, configure several users on my team, and have them access the notebooks for reporting. I know JupyterHub has been deployed to a team before (Berkley 2015) and am curious how to accomplish this under windows for my team.

Thanks!

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/71227e8d-c83b-49f3-acf9-2b8b786ea595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

Raian Chaiiro

unread,
Feb 11, 2016, 11:36:47 AM2/11/16
to Project Jupyter
--MinRK,

Thank you very much for helping with this. Unfortunately I have just started programming with python so I have no idea how to write a custom spawner. :)

2016年2月11日木曜日 6時49分33秒 UTC-6 Min RK:

Denis Akhiyarov

unread,
Feb 11, 2016, 4:48:27 PM2/11/16
to Project Jupyter
You can still use jupyter as a client - server architectures: the jupyter server lives on any common machine or even cloud VM and then many users access the notebook server from browser on their local machines, but use the same notebook one at a time.

not sure if there is updated guide, but this used to work for me with jupyter 4.0:

Reply all
Reply to author
Forward
0 new messages