On Mon, 24 Oct 2016, Volker Braun wrote:

I have a setup helper for jupyterhup at 

https://github.com/vbraun/run-jupyter-hub

Thanks. Stopped with ffi.h missing, now installed libffi-dev and trying again...

On Tue, 25 Oct 2016, Luca De Feo wrote:

Can you give me some kind of Hello world! -example of Jupyter?

I am not sure you realize that JupyterHub is not shipped with Sage.

That explains quite much. No, I did not realize that.

If you want to try out JupyterHub, you will have to install it
separately, and link the Sage kernel to it. I find the JupyterHub docs
pretty well written and easy to follow for a Hello world test

 https://jupyterhub.readthedocs.io/en/latest/getting-started.html

Got it installed and shown up in my browser. Good start. It rejected login with wrong password, and with right password gave "Spawner failed to start [status=1]". So next I guess I should somehow register Sage as a "kernel"(?) for jupyterhub.

  * * *

I tested on Ubuntu 16.04 LTS. I did

apt-get install npm nodejs-legacy
apt-get install python3-pip

npm install -g configurable-http-proxy

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
dpkg-reconfigure locales

pip3 install jupyterhub

Noticed that it used IPv6, got a headache when googling, found the instruction to put GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet" on /etc/default/grub, said update-grub and got the login prompt.

--
Jori Mäntysalo

Reply via email to