From aa31c643a729503256b1027b98d7ec72fab0d7f8 Mon Sep 17 00:00:00 2001 From: manetta Date: Sun, 14 Jan 2024 11:05:28 +0100 Subject: [PATCH] From Jupyter Notebook 7, use the jupyter_server.auth module instead of notebook.auth --- make_user_accounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make_user_accounts.py b/make_user_accounts.py index 7b9ef5c..aa2837f 100644 --- a/make_user_accounts.py +++ b/make_user_accounts.py @@ -2,7 +2,8 @@ import argparse import os, sys -from notebook.auth import passwd +# from notebook.auth import passwd # From Jupyter Notebook 7, use the jupyter_server.auth module instead of notebook.auth +from jupyter_server.auth import passwd from jinja2 import Environment, FileSystemLoader from random import shuffle from csv import writer