From 3692ab7532679aa123330c1a1da5a54262e09894 Mon Sep 17 00:00:00 2001 From: tpmmthomas Date: Wed, 2 Oct 2024 00:59:04 +0800 Subject: [PATCH] Update setup --- scripts/secure-notebook-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/secure-notebook-server.sh b/scripts/secure-notebook-server.sh index 95f0547..8edc548 100644 --- a/scripts/secure-notebook-server.sh +++ b/scripts/secure-notebook-server.sh @@ -23,7 +23,7 @@ fi # Get user to enter notebook server password echo "Getting notebook server password hash. Enter password when prompted ..." printf $SEPARATOR -HASH=$(python -c "from notebook.auth import passwd; print(passwd());") +HASH=$(python -c "from jupyter_server.auth import passwd; print(passwd());") printf $SEPARATOR echo "... got password hash." # Generate self-signed OpenSSL certificate and key file