简体   繁体   English

在 vscode 中使用 jupyter 扩展时如何解决“无法删除密码”错误

[英]How can I solve the 'cannot delete password' error when using the jupyter extension in vscode

I have been using the jupyter extension in vscode without an issue for well over a year now.一年多以来,我一直在 vscode 中使用 jupyter 扩展,没有出现任何问题。 Today when I try to run any cell in a jupyter notebook all I get is a very generic error popping up in the corner of the vscode window saying: 'Cannot delete password (Source: Jupyter (Extension))'.今天,当我尝试在 jupyter 笔记本中运行任何单元格时,我得到的只是在 vscode window 的角落弹出一个非常通用的错误:“无法删除密码(来源:Jupyter(扩展名))”。 I am not trying to use any password protection.我没有尝试使用任何密码保护。 This is a local project running locally.这是一个在本地运行的本地项目。

I have tried:我努力了:

  • uninstall and reinstall the extension卸载并重新安装扩展
  • uninstall and reinstall vscode卸载并重新安装 vscode
  • successfully ran the jupyter notebook as a server in chrome browser在 chrome 浏览器中成功地将 jupyter notebook 作为服务器运行

I can find no information on this error anywhere.我在任何地方都找不到有关此错误的信息。 Does anyone know what it is referring to?有谁知道它指的是什么? Does anyone know how or where I can find logs or messages with more information?有谁知道我如何或在哪里可以找到包含更多信息的日志或消息? How can I solve this error?我该如何解决这个错误?

  • OS: Opensuse (Tumbleweed)操作系统:Opensuse(风滚草)
  • vscode: version 1.56.2 vscode:版本 1.56.2
  • jupyter extension: v2021.6.832593372 jupyter 扩展:v2021.6.832593372
  1. Go to the user settings Go 到用户设置
  2. Pull up the settings specifically for the jupyter extension拉出专门针对 jupyter 扩展的设置
  3. Switch the jupyter.jupyterServerType value to "local" in the the workspace and the user settings在工作区和用户设置中将 jupyter.jupyterServerType 值切换为“local”
  4. Now the cells should run as expected.现在细胞应该按预期运行。

This is only a workaround for a bug in the extension.这只是扩展程序中错误的解决方法。 see here .这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何解决Jupyter Notebook中的错误? - How can I solve error in Jupyter notebook? 如何安装Jupyter解决错误? - How can i solve the error with installing Jupyter? 将 VSCode 更新到 1.56.1 后,出现错误:“无法激活 'Python' 扩展,因为它依赖于 'Jupyter' 扩展......” - After updating VSCode to 1.56.1, I get error: "Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension..." 如何在 anaconda 上解决 Jupyter 中的这个内核错误 - How can I solve this kernal error in Jupyter on anaconda 如何为jupyter添加python3内核来解决此错误? - How can I solve this error with adding python3 kernal for jupyter? 我该如何解决这个 pipenv 安装错误 - vscode 上的 django 项目 - how can i solve this pipenv install error - django project on vscode 如何在 vscode + python jupyter 扩展中获得 tqdm progress_apply 栏? - How can I get a tqdm progress_apply bar in vscode + python jupyter extension? 使用 spacy 时如何解决属性错误? - How can I solve an attribute error when using spacy? 使用DataFrameMapping时如何解决内存错误? - How can I solve a Memory Error when using DataFrameMapping? 创建ModelView时,如何从flask-admin扩展程序解决此错误? - How can I solve this error from flask-admin extension when creating a ModelView?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM