更新时间:2022-04-29 08:10:30
自2020年11月起,Jupyter扩展与VS Code的Python扩展分开了.设置键已从python.dataScience
重命名为jupyter
Since Nov 2020 the Jupyter extension is seperated from Python extension for VS Code. The setting key has been renamed from python.dataScience
to jupyter
^update
因此,根据您的情况,请将python.dataScience.runStartupCommands
重命名为jupyter.runStartupCommands
So in your case please rename python.dataScience.runStartupCommands
to jupyter.runStartupCommands