{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Python", "type": "debugpy", "request": "launch", "python": "/home/lmx/miniconda3/envs/pose/bin/python3", "program": "pvnetRT.py", "console": "integratedTerminal", "args": [ "", ] } ]
}上面配置conda的调试环境,出现报错。
解决方法:
点击vscode右下角python,选择conda虚拟环境即可。
来源:CSDN 原文,首次发布于 2024-08-06。