之前用vscode没问题,后面学校教学用pycharm和anaconda就没用这个软件了,现在再来用发现用不了了
launch.json
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"python": "D:\\3\\Anaconda\\python.exe",
"program": "${file}",
"cwd": "${workspaceFolder}",
"env": {},
"envFile": "${workspaceFolder}/.env",
"console": "externalTerminal",
}
setting.json
"python.condaPath": "D:\\3\\Anaconda\\_conda.exe",
"python.defaultInterpreterPath": "D:\\3\\Anaconda\\python.exe",