Questions tagged [jupyterhub]

JupyterHub is the best way to serve Jupyter notebook for multiple users.It is a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server.

The Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

669 questions
4
votes
2 answers

Jupyterhub and nginx reverse proxy configuration

I was trying to configure the jupyterhub proxy to route the content going to my-host-ip/notebook but it i cannot figure out the solution. I am using the following Nginx configuration: server { listen 80; server_name localhost; …
ziedTn
  • 262
  • 5
  • 17
4
votes
1 answer

using R in jupyter: display_markdown in loop

I need to setup a reporting document in which I loop over items and generate individual graphs. when using R in jupyter i read about display_markdown and display_html using repr and IRDisplay here: How to render LaTeX / HTML in Jupyter (R)? This…
sektionschef
  • 123
  • 1
  • 8
4
votes
0 answers

jupyterhub nginx reverse proxy

I'm trying to get a reverse proxy (nginx) to work with juypterhub. I want the service available at myurl.com/jhub/. I placed the following in the config: location /jhub/ { proxy_pass http://127.0.0.1:8000/; proxy_set_header…
3
votes
1 answer

Kubernetes - After server reboot - Error getting node err=node … not found

I had restarted the server (master node) and I get since then the following message when I want to use kubelet: The connection to the server YYY.YYY.YYY.YY:6443 was refused - did you specify the right host or port? In the log of kubelet it says…
GrasWindowWind
  • 73
  • 1
  • 11
3
votes
1 answer

How to check which authenticator_class is used by jupyterhub without reading jupyterhub_config file?

I'm dynamically setting different authenticator class in jupyterhub_config file. jupyterhub_config.py c.JupyterHub.authenticator_class = "authenticator_A" Now i want to check which autheticator is used in notebook cell. How can i get this class…
3
votes
2 answers

Export environment variables to JupyterHub users, without using Docker?

JupyterHub has various authentication methods, and the one I am using is the PAMAuthenticator, which basically means you log into the JupyterHub with your Linux userid and password. However, environment variables that I create, like this (or for…
Thomas Browne
  • 23,824
  • 32
  • 78
  • 121
3
votes
2 answers

JupyterHub Helm install: function "dig" not defined

I tried installing JupyterHub 1.0.1 using Helm 3.4.0, but get this error about a dig function. "jupyterhub" already exists with the same configuration, skipping Hang tight while we grab the latest from your chart repositories... ...Successfully got…
luds
  • 331
  • 2
  • 13
3
votes
0 answers

Jupyterhub proxy error after including SSL key and cert

I have jupyterhub installed in my server and all these days I was logging in without SSL certificate and everything was working fine. Now I have SSL certificate (.cer) and I have generated key from it and made changes in config file for…
mockash
  • 1,204
  • 5
  • 14
  • 26
3
votes
1 answer

JupyterHub JupyterLab - ImportError: cannot import name 'AsyncKernelManager' from 'jupyter_client.manager'

I have been running JupyterHub under k8s in notebook mode but want to switch to JupyterLab now. When I launch JupyterLab first I am asked to rebuild the kernel (which fails) so I then rather don't rebuild. Next: When I try to launch a python3…
jtlz2
  • 7,700
  • 9
  • 64
  • 114
3
votes
2 answers

How to Share a Jupyter Notebook with a CSV Input

I am building a heat map for my company from a generated csv. After a lot of reading I built it using jupyter notebooks (online) using the gmaps API. I've never done anything like this before and jupyter/python/gmaps made it easy to accommodate my…
camilleion
  • 71
  • 4
3
votes
1 answer

Is there a true configuration as code for jupyter notebook/labs?

So I have a jupyterhub-esk installation, where I am spinning up containers which run either jupyter lab or jupyter notebooks (depending on the users selection). On launch, the container basically does a git clone, enabling me to select one of my git…
3
votes
1 answer

Jupyterhub - ERROR:asyncio:Task exception was never retrieved

I'm not able to install Jupyterhub using pip. I tried reinstall, but no matter what, I'm still getting asyncio Error. Any idea what I'm doing wrong ? [root@localhost bin]# which python3 /usr/bin/python3 [root@localhost bin]# which…
jmt
  • 719
  • 1
  • 9
  • 28
3
votes
1 answer

How to include a jar URI in a submit job function on Dataproc

I am trying to run a PySpark job via jupyter and I need to create a function to run the job. I need to pass a jar file and I am trying to figure out how to do that. I did find some documentation on it:…
3
votes
1 answer

jupyter kernelspec no such file or directory /lib/libstdc++.so.6.0.21

I'm trying to flesh out the workflow for a JupyterHub server in the case where a user creates an environment and wants to share it with another user. I want to test out one of the two methods. I am trying to create an environment in a public path,…
Nick Brady
  • 6,084
  • 1
  • 46
  • 71
3
votes
1 answer

Keycloak JupyterHub auto signon using JWT token

We have managed to setup our jupyterhub environment (z2jh) to use Keycloak as an authentication server and users are given a enter password screen when they try and access the jupyterhub website. The configuration used for this is below. The…