from notebook.auth import passwd notebook版本7.0 没有notebook.auth 可以降到版本 6.5.4 查看历史版本 pip3 index versions notebook