将 VS Code 更新到版本后 1.56.1 , 在 VS Code 中打开 python 项目时,我开始收到以下错误(在右下角的弹出窗口中):
Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is not loaded. Would you like to reload the window to load the extension?.
点击“Reload Window”并不能解决问题,只会不断提示同样的错误。
我找到了 this在 SO 答案的更新中,但重新安装 jupyter 扩展并没有解决我的问题。
最佳答案
我通过恢复到以前的 jupyter 扩展版本设法解决了我的问题。我最初的 jupyter 扩展是 v2021.5.745244803
。我恢复到 v2021.5.702919634
,问题已解决。
还原 jupyter 扩展版本:
选择一个以前的版本。我选择了最新版本之前的版本,并为我解决了这个问题。
如果您遇到同样的问题,我希望这对您有所帮助。
关于python - 将 VSCode 更新到 1.56.1 后,出现错误 : "Cannot activate the ' Python' extension because it depends on the 'Jupyter' extension. ..",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67492545/