我使用的vscode 配置文件setting.json
{
? ? "python.pythonPath": "e:\\Miniconda3\\envs\\Django\\python.exe",
? ? "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
? ? "terminal.integrated.shellArgs.windows": [
? ? ? ? "/K",
? ? ? ? "D:\\ProgramData\\Anaconda3\\Scripts\\activate.bat D:\\ProgramData\\Anaconda3"
? ? ],
? ? "python.autoComplete.extraPaths": [
? ? ? ? "F:\\pythonpro\\tutorial\\tutorial\\quickstart",
? ? ],
? ? "python.formatting.provider": "yapf",
? ? "python.linting.enabled":false
}