VS Code Configuration Python development environment
Prerequisite plug-ins
- Python Extension
- Code Runner
Configuration Code Runner
you have to enter your virtualenv path or you could use.
"code-runner.executorMap": {
"python": "$pythonPath $fullFileName"
}
Normally, I use python -m venv .venv
to create a virtual environment. VS Code can be well compatible and Python venv.