依次检查:
terminal路径设置
File->preference->setting->setting json:
{
"workbench.iconTheme": "vscode-icons",
"cSpell.userWords": [
],
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"editor.fontSize": 18,
"terminal.integrated.shell.linux": "/bin/bash",
"python.dataScience.askForKernelRestart": false,
"[python]": {
"editor.defaultFormatter": "ms-python.python"
}
}
“terminal.integrated.shell.linux”: “/bin/bash”,中路径正确
终端环境
然后问题基本就解决了,如果还没有,欢迎在评论留言