vscode 配置 python3开发环境,vscodepython3
分享于 点击 34428 次 点评:237
vscode 配置 python3开发环境,vscodepython3
独立安装python3的:
用户设置里面添加一下python3的路径即可
////////////////////////////////////////////////配置launch.json
文件
{
"version": "0.2.0",
"configurations": [
{
"name": "Python3",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "/usr/bin/python3", //python3的安装路径
"program": "${file}",
"cwd": "${workspaceFolder}",
"env": {},
"envFile": "${workspaceFolder}/.env",
"debugOptions": [
"RedirectOutput"
]
}
]
相关文章
- 暂无相关文章
用户点评