【问题标题】:jupyter notebook command can not run correctlyjupyter notebook 命令无法正常运行
【发布时间】:2023-04-05 08:41:01
【问题描述】:

在我安装 anaconda3 并打开 Jupyter 之后, 它由IE打开,我复制url“http://localhost:8889/tree”并粘贴到Chrome,然后它显示这个页面 page picture link 我按照说明进入

jupyter notebook list

但它会响应此错误

文件“”,第 1 行 jupyter笔记本列表 ^ SyntaxError: 无效语法

为什么会出现这个错误?

【问题讨论】:

    标签: python jupyter-notebook


    【解决方案1】:

    Notebook 4.3.0 默认启用登录安全。在密码字段中输入的令牌在启动期间打印在笔记本服务器的输出中(或者可以直接包含在 URL 中)

    Jupyter Notebook 运行于: http://0.0.0.0:8888/?token=f3e7fa23fb7e347ad05914368b625416b7a95a674dc078f7

    请参阅http://jupyter-notebook.readthedocs.io/en/latest/security.html#server-security 了解更多信息,包括禁用该功能。

    但是,这并不能解释为什么在一个端口上运行而在另一个端口上运行时却没有提示密码。

    问了同样的问题 How to disable password request for a Jupyter notebook session?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-24
      • 2017-11-20
      • 2022-07-20
      相关资源
      最近更新 更多