参考 https://blog.csdn.net/SpuerCheng/article/details/81485154python
个人 vscode 用户设置以下:.net
{ //"python.pythonPath": "c:\\Anaconda3\\pythonw.exe", "window.zoomLevel": 1, // 以像素为单位控制字号。 "editor.fontSize": 14, "editor.mouseWheelZoom": true, //忽略pylint检查代码时,出现无谓的波浪线的问题 "python.linting.pylintArgs": [ "--disable=W,C" ], //配置python的路径 //"python.pythonPath": "C:\\Anaconda3\\python.exe", // anaconda 虚拟环境目录 "python.venvPath": "C:\\Anaconda3\\envs", // 虚拟环境具体目录 "python.venvFolders": [ "tf" ] }