打开VSCode,点击左下角的选择器。 在弹出的菜单中,选择 “Python: Select Interpreter”。 选择你安装的 Python 解释器。 3. 安装模块或包失败 有时候,我们在 VSCode 中运行 Python 代码时需要使用一些第三方模块或包。如果安装失败,也可能导致报错 9009。要解决这个问题,可以按照以下步骤来重新安装模块或包: 打开V...
使用VScode的插件code runner的时候出现 [Done] exited with code=9009 in 0.167 seconds尝试了配置环境变量但是失败,我用的是anaconda的虚拟环境下的python.exe, 解决办法如下: 打开插件code runner的setting.…
手动退出终端时弹出VSCode退出代码9009 每次我停止Python调试器并退出终端时,我都会在VSCode的右下角收到一个弹出通知: ? 因为我每天都要停止调试器并退出终端几十次,所以这很麻烦。我可以忽略它(只有一个是打开的--它不会阻止任何东西的工作),但是它总是在我想看到的代码上面。 是否有某些设置(可能在...
(无异议)官网下载并且安装VSCode:Visual Studio Code - Code Editing. Redefined (无异议)安装好插件Code Runner:Code Runner - Visual Studio Marketplace (详细讲)准备C/C++的编译器:GCC+MinGW-w64 compiler for Windows (注意)如果你以后打算Qt for C++的话,那编译器按照Qt的来就行。 0、编译器选:GCC (GN...
linkID=2082640[Done] exitedwithcode=9009in0.441seconds 解决方式: (1) 该问题是没有找到合适的python解释器造成的; (2) 由于使用的python运行插件是Code Runner,无法自动匹配解释器位置; (3) 将运行插件替换为python,该问题解决
[Done] exited with code=9009 in 0.698 seconds 要检查python是否加入到环境变量中,然后在右下角最下方有选择编辑器,点击后上方会提示你选择编辑器, 并且自动给你配置.vscode文件的settings.json里编辑器的运行程序文件地址。 调试: 点击“shift+ctrl+d”打开调试栏,右上方的 “设置” 符号打开,下拉选项中选择 ...
[Done] exited with code=9009 in 0.698 seconds 要检查python是否加入到环境变量中,然后在右下角最下方有选择编辑器,点击后上方会提示你选择编辑器, 并且自动给你配置.vscode文件的settings.json里编辑器的运行程序文件地址。 调试: 点击“shift+ctrl+d”打开调试栏,右上方的 “设置” 符号打开,下拉选项中选择 ...
[error] Subprocess exited unsuccessfully withexitcode 9009 and signal null on workspace s:\my_project\correct\path. Python not found. This seemed a bit weird to me. To at least have VSCode and the terminals in it find Python again (but now it seems to use the overall conda base environme...
Type: Bug Behaviour Expected vs. Actual When calling the API to resolve and environment, it should work. Steps to reproduce: Not sure whether I can repro this, but here are the steps Open VS Code Create a new conda environment named cond...
[Done] exited with code=9009 in 0.698 seconds 要检查python是否加入到环境变量中,然后在右下角最下方有选择编辑器,点击后上方会提示你选择编辑器, 并且自动给你配置.vscode文件的settings.json里编辑器的运行程序文件地址。 调试: 点击“shift+ctrl+d”打开调试栏,右上方的 “设置” 符号打开,下拉选项中选择 ...