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
3
votes
0 answers

Using jupyterhub authorisation token fails

I have a running jupyterhub service and I want to interact with the REST API with admin privileges. The docs suggest I can get a authorisation token like this, where username is an admin user: $ jupyterhub token --config=
Stephen Pascoe
  • 468
  • 2
  • 11
3
votes
1 answer

tensorflow gpu can not be called from jupyterhub/jupyter notebook, why?

Well I figure eight hours is enough time trying to fix this on my own, so I'll just ask folks: I am running tensorflow-gpu 1.1.0 just fine in my virtual environment named 'tensorflow' outside of jupyterhub and Jupyter notebook. That is, I can…
user798719
  • 9,619
  • 25
  • 84
  • 123
3
votes
2 answers

AWS IAM Role in EC2 and access to S3 from JupyterHub

In JupyterHub, installed in an EC2 instance with an IAM role which allows access to a specific S3 bucket when I try to access a file in that bucket with this code: s3nRdd = spark.sparkContext.textFile("s3n://bucket/file") I get this…
and_apo
  • 1,217
  • 3
  • 17
  • 41
3
votes
3 answers

Limit GPU usage in nvidia-docker?

I am setting up an internal Jupyterhub on a multi GPU server. Jupyter access is provided through a docker instance. I'd like to limit access for each user to no more than a single GPU. I'd appreciate any suggestion or comment. Thanks.
Dinesh K.
  • 323
  • 5
  • 10
3
votes
2 answers

SAML authentication for Jupyter Hub

I should implement SAML authentication (Okta) in Jupyter. I have tried to search but didn't find anything. Maybe someone knows the solution. Thanks for help.
3
votes
2 answers

Run Jupyter cell on page refresh

I am using Jupyter for my company's Analytics. I want to make live page that displays some pretty charts. I will be displaying this page on a big monitor in the lobby, and I want it to refresh automatically. Is there some way to trigger "run all…
opus111
  • 2,744
  • 4
  • 25
  • 41
3
votes
4 answers

make Pyspark working inside jupyterhub

I have a machine with JupyterHub (Python2,Python3,R and Bash Kernels). I have Spark(scala) and off course PySpark working. I can even use PySpark inside an interactive IPython notebook with a command like: IPYTHON_OPTS="notebook"…
arj
  • 713
  • 2
  • 12
  • 26
2
votes
0 answers

Can I use JupyterHub to authorise users' access to remote hosted lab instances?

Current state I'm currently setting up a Datascience/ML Environment for my research team. I use a Synology NAS as a reverse Proxy to forward requests to our workstations. These host several different Jupyter Labs for projects (located on the NAS),…
2
votes
0 answers

"Nbextensions" tab not showing in jupyterhub

can anyone explain how to fix or troubleshoot this issue ? How i understand i already install packages and enable all modules. There are no any issue(at least i can't see any) with requirements or versions. But after login in jupyterhub, the…
2
votes
1 answer

Jupyterhub (TLJH): Failure setting up Development Environment: "Failed to start jupyterhub.service."

since last week, I am unable to set up a TLJH Development Environment as described here: https://tljh.jupyter.org/en/latest/contributing/dev-setup.html. Up until January 23 2023 the process went smoothly, but after rebuilding the image last Friday…
lonfo
  • 59
  • 7
2
votes
2 answers

how can I see the List of all lines from where my method or class is getting called in Jupyter Notebook?

How can I redirect to the line from where the definition or class is called? I want something like this I find it hard to believe this does not exist. I have gone through this https://github.com/krassowski/jupyterlab-go-to-definition but I want…
Binit Amin
  • 481
  • 2
  • 18
2
votes
1 answer

Failed to install jupyterhub(z2jh) with helm on k8s, giving hook-image-awaiter with timeout error (Error: pre-upgrade hooks failed)

I'm installing jupyterhub on k8s using helm. helm upgrade --cleanup-on-fail --install jupyterhub jupyterhub-2.0.0/jupyterhub/ --namespace my-NS --create-namespace --version=2.0.0 --values my-values.yaml --timeout 30m --debug Its failing with error…
veeresh patil
  • 1,168
  • 1
  • 11
  • 18
2
votes
1 answer

How to mount a samba directory in docker container from a windows host?

I'm using docker v20.10.17 in a windows system. I'd like to run a container (jupyterhub/jupyterhub) and mount a directory into it to share data (for all users with write permission inside the container system). The shared directory is from another…
gepcel
  • 1,326
  • 11
  • 21
2
votes
0 answers

Stop Jupyterlab scroll down in the code cell

It makes me really annoying that the code cell in the Jupyterlab often scrolls down so that I cannot scroll down to the cell that I want: So is there a way to stop or shut-off this scrolling within code cell? Thanks,
Seung Hyeon Yu
  • 178
  • 1
  • 8
2
votes
1 answer

How to open toc automatically when open a .ipynb file in jupyterlab?

When I open a file in jupyterlab. The left sidebar will disappear the file browser. file browser But I want to open the toc. I try to write a javascript to simulate click the toc button in sidebar, but it doesn't work. There are any configuration or…