【发布时间】:2017-05-22 19:04:17
【问题描述】:
我刚刚将 Jupyter 升级到 4.3.1 版本 虽然我可以打开以前创建的 ipynb 文件,但我无法创建新文件。
当我尝试创建一个新的笔记本文件时,我会弹出一个窗口说:
创建笔记本失败
创建新笔记本时出错
禁止
在终端我注意到这个输出:
[W 12:53:23.375 NotebookApp] 403 POST /api/contents (::1): '_xsrf' argument missing from POST
[W 12:53:23.383 NotebookApp] 403 POST /api/contents (::1) 8.92ms referer=http://localhost:8888/tree?token=e7fbbb58516dc1359fcc26a1079093166a1f713ee5b94ccd
我将 Jupyter 与 Python 3.5.2 和 IPython 5.1.0 一起使用
【问题讨论】:
-
可能是由添加到 jupyter 的新强制令牌身份验证引起的。 blog.jupyter.org/2016/12/21/jupyter-notebook-4-3-1
-
这可能是一个错误。至少错误消息应该提供更多信息。也许您应该在 jupyter-notebook 的 github 问题跟踪器上提交错误报告? github.com/jupyter/notebook
-
当我在浏览器中打开 jupyter notebook 时清理浏览器 cookie 时发生这种情况。
标签: jupyter-notebook