From Jupyter Notebook 7, use the jupyter_server.auth module instead of notebook.auth

master
manetta 10 months ago
parent 7d33915f71
commit aa31c643a7

@ -2,7 +2,8 @@
import argparse import argparse
import os, sys 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 jinja2 import Environment, FileSystemLoader
from random import shuffle from random import shuffle
from csv import writer from csv import writer

Loading…
Cancel
Save