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