【问题标题】:How can I solve the 'cannot delete password' error when using the jupyter extension in vscode在 vscode 中使用 jupyter 扩展时如何解决“无法删除密码”错误
【发布时间】:2021-05-17 18:29:52
【问题描述】:

我在 vscode 中使用 jupyter 扩展已经一年多了。今天,当我尝试在 jupyter 笔记本中运行任何单元格时,我得到的只是在 vscode 窗口的角落弹出一个非常通用的错误:“无法删除密码(来源:Jupyter(扩展))”。我没有尝试使用任何密码保护。这是本地运行的本地项目。

我试过了:

  • 卸载并重新安装扩展程序
  • 卸载并重新安装 vscode
  • 在 chrome 浏览器中成功将 jupyter notebook 作为服务器运行

我在任何地方都找不到有关此错误的信息。有谁知道它指的是什么?有谁知道我如何或在哪里可以找到包含更多信息的日志或消息?我该如何解决这个错误?

  • 操作系统:Opensuse(风滚草)
  • vscode:版本 1.56.2
  • jupyter 扩展:v2021.6.832593372

【问题讨论】:

  • 检查Jupyter Server,是本地的还是远程的?
  • 服务器是本地的,但 jupyter.jupyterServerType 设置有问题。我在答案中链接了错误报告。

标签: python visual-studio-code jupyter-notebook


【解决方案1】:
  1. 进入用户设置
  2. 调出专门针对 jupyter 扩展的设置
  3. 在工作区和用户设置中将 jupyter.jupyterServerType 值切换为“local”
  4. 现在单元应该按预期运行。

这只是扩展程序中错误的解决方法。见here

【讨论】:

    猜你喜欢
    • 2021-06-07
    • 2022-08-16
    • 2021-07-24
    • 2023-03-12
    • 2019-07-10
    • 1970-01-01
    • 2020-09-19
    • 2022-06-11
    • 2020-03-26
    相关资源
    最近更新 更多