Skip to content

Commit 4dcb9fc

Browse files
Add Python Environments extension create environment command as recommended approach
Agent-Logs-Url: https://github.com/microsoft/vscode-python-environments/sessions/02d9c025-0c71-42d2-a4ed-513a8c4e0023 Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
1 parent 235acaa commit 4dcb9fc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Thank you for your interest in contributing to the Python Environments extension
2121

2222
A Python virtual environment is important for development because it isolates the Python dependencies used for testing and development from your system Python installation. This ensures reproducible builds and prevents conflicts with other projects.
2323

24+
**Using the Python Environments extension (recommended):**
25+
26+
1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
27+
2. Run **Python: Create Environment**
28+
3. Select **Venv** as the environment type
29+
4. Choose your preferred Python interpreter
30+
5. The extension will create the `.venv` folder and configure your workspace automatically
31+
32+
**Alternatively, from the command line:**
33+
2434
```bash
2535
# Create the virtual environment
2636
python -m venv .venv

0 commit comments

Comments
 (0)