运行jupyter notebook出现Running as root is not recommended. Use --allow-root to bypass.该怎么解决

1.首先输入命令,查看配置文件位置

2.接下来打开配置文件

3.找到这一行

#c.NotebookApp.allow_root = False

去掉#,并修改成True即可解决root权限运行的问题

c.NotebookApp.allow_root =True

保存,重新运行程序

jupyter notebook

posted @ 2018-05-29 10:48  Annian叔叔  阅读(3938)  评论(0编辑  收藏  举报