C/C++教程

运行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

解决问题。

这篇关于运行Jupyter出现Waring“ 'allow_root' has moved from NotebookApp to ServerApp. This config will的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!