You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a jupyterhub for students and install IJava kernel in shared directory. I can see the java kernel in my lab as an admin but users that is students cannot see java kernel when they logged in to their jupyterlab.
i have also modified config file:
c.Spawner.args = ['--NotebookApp.kernel_spec_manager_class=nb_conda_kernels.CondaKernelSpecManager']
#this will allow jupyter to use different kernels
c.Spawner.env_keep.append('/home/tele/.local/share/jupyter/kernels/java') # Add any required environment variables
c.KernelSpecManager.ensure_native_kernel = False
c.KernelSpecManager.kernel_cmd = ['/home/tele/.local/share/jupyter/kernels/java']
I have created a jupyterhub for students and install IJava kernel in shared directory. I can see the java kernel in my lab as an admin but users that is students cannot see java kernel when they logged in to their jupyterlab.
i have also modified config file:
c.Spawner.args = ['--NotebookApp.kernel_spec_manager_class=nb_conda_kernels.CondaKernelSpecManager']
#this will allow jupyter to use different kernels
c.Spawner.env_keep.append('/home/tele/.local/share/jupyter/kernels/java') # Add any required environment variables
c.KernelSpecManager.ensure_native_kernel = False
c.KernelSpecManager.kernel_cmd = ['/home/tele/.local/share/jupyter/kernels/java']
Path to IJava kernel
c.KernelSpecManager.whitelist = {'java','python'}
c.KernelSpecManager.kernel_dirs = ['/shared_kernel']
c.Authenticator.admin_users = {'tele'} # Specify admin users
c.Authenticator.whitelist = {'kumar_ex', 'user2'} # Add specific users
c.Authenticator.add_user_cmd = [
'adduser', '--force-badname', '-q', '--gecos', '', '--disabled-password'
]
c.Authenticator.check_password = lambda username, password: passwd('your_password') == 'aaf1577c327d4ff7edbee4b7e24762d523d6a1ef'
The text was updated successfully, but these errors were encountered: