Docker jupyterhub直通抛出错误

Docker jupyterhub直通抛出错误,docker,devops,jupyterhub,jupyter-console,Docker,Devops,Jupyterhub,Jupyter Console,我正在尝试使用此验证器,以便无需任何登录表单即可访问终端来宾会话。我安装了插件并尝试在docker上测试它 我的jupyterhub_config.py文件 c = get_config() c.Spawner.debug = True c.JupyterHub.authenticator_class = 'passthroughauth.PassThroughAuthenticator' c.PassThroughAuthenticator.guest_user = 'ubuntu' c.Au

我正在尝试使用此验证器,以便无需任何登录表单即可访问终端来宾会话。我安装了插件并尝试在docker上测试它

我的jupyterhub_config.py文件

c = get_config()
c.Spawner.debug = True
c.JupyterHub.authenticator_class = 'passthroughauth.PassThroughAuthenticator'
c.PassThroughAuthenticator.guest_user = 'ubuntu'
c.Authenticator.auto_login = True
错误消息:

[C 2020-10-26 16:28:07.920 JupyterHub application:89] Bad config encountered during initialization: The 'authenticator_class' trait of <jupyterhub.app.JupyterHub object at 0x7f29311429a0> instance must be a type, but 'passthroughauth.PassThroughAuthenticator' could not be imported
[C 2020-10-26 16:28:07.920 JupyterHub应用程序:89]初始化期间遇到错误配置:实例的“authenticator\u class”特征必须是类型,但无法导入“passthrough.passthroughuthenticator”