VScode Python no module的解决方法

解决方法 在lauch.json中,修改 "env": {}为 "env": {"PYTHONPATH":"${workspaceRoot}"} 完整的代码以下:html { "name": "Python", "type": "python", "request": "launch", "stopOnEntry": false, "pythonPath": "${conf
相关文章
相关标签/搜索