我刚刚将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与python3.5.2和IPython 5.1.0一起使用
发布于 2021-05-20 16:34:59
Jupyter阻止非本地请求。要从外部地址访问Jupyter,我们可以使用以下参数执行它:
jupyter notebook --NotebookApp.allow_origin=* --NotebookApp.allow_remote_access=1
https://stackoverflow.com/questions/41532441
复制相似问题