其他分享
首页 > 其他分享> > 运行Jupyter出现Waring“ 'allow_root' has moved from NotebookApp to ServerApp. This config will

运行Jupyter出现Waring“ 'allow_root' has moved from NotebookApp to ServerApp. This config will

作者:互联网

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

解决问题。

标签:ServerApp,Waring,配置文件,root,allow,NotebookApp,config
来源: https://www.cnblogs.com/dyc99/p/16417667.html