运行Jupyter出现Waring“ 'allow_root' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.”解决办法

1、问题描述:Pycharm配置Jupyter出现警告: 'allow_root' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

2、解决办法:打开【.jupyter】文件夹下的配置文件【jupyter_notebook_config.py】,并将配置文件中的NotebookApp全部替换为ServerApp即可。

示例:

c.NotebookApp.allow_root = True 替换为 c.ServerApp.allow_root = True

解决问题。

posted @ 2022-06-27 21:52  DuanYongchun  阅读(3519)  评论(0编辑  收藏  举报