Docker进入jupyter-notebook容器修改密码报错。
Docker进入jupyter/all-spark-notebook容器修改密码时报错:
jovyan@67c686087c2d:~$ jupyter notebook password
Enter password:
Verify password:
Traceback (most recent call last):
File "/opt/conda/bin/jupyter-notebook", line 6, in <module>
sys.exit(notebook.notebookapp.main())
File "/opt/conda/lib/python3.6/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/opt/conda/lib/python3.6/site-packages/notebook/notebookapp.py", line 1571, in start
super(NotebookApp, self).start()
File "/opt/conda/lib/python3.6/site-packages/jupyter_core/application.py", line 255, in start
self.subapp.start()
File "/opt/conda/lib/python3.6/site-packages/notebook/notebookapp.py", line 380, in start
set_password(config_file=self.config_file)
File "/opt/conda/lib/python3.6/site-packages/notebook/auth/security.py", line 148, in set_password
config.NotebookApp.password = hashed_password
File "/opt/conda/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/conda/lib/python3.6/site-packages/notebook/auth/security.py", line 131, in persist_config
with io.open(config_file, 'w', encoding='utf8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/jovyan/.jupyter/jupyter_notebook_config.json'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论