A VS Code extension to streamline Python environment management and reproducibility. It provides simple, opt‑in commands for creating, updating, and managing virtual environments and packages.
Features
This extension contributes the following commands to the VS Code Command Palette:
Create Python Virtual Environment (venv)
Python Env Helper: Create Python Virtual Environment (venv)
Creates a new .venv in your workspace.
Install Missing Packages Needed
Python Env Helper: Install Missing Python Packages Needed
Scans your code for imports and installs any missing packages.
Update All Existing Python Packages
Python Env Helper: Update All Existing Python Package
Updates all installed packages in your environment.
Uninstall Python Package
Python Env Helper: Uninstall Python Package
Removes a selected package from your environment.
Install Package (Specific Version)
Python Env Helper: Install Package (Specific Version)
Installs a package at a specific version.
Upgrade pip
Python Env Helper: Upgrade pip
Upgrades pip to the latest version.
Rollback pip (Choose Version)
Python Env Helper: Rollback pip (Choose Version)
Downgrades pip to a chosen version.
Export Requirements.txt
Python Env Helper: Export Requirements.txt
Exports the current environment’s packages into a requirements.txt file.
Usage
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P on macOS).
Type one of the commands above (e.g., Python Env Helper: Create Python Virtual Environment).
Follow the prompts — the extension will handle the rest.
Installation
Install from the Visual Studio Code Marketplace (marketplace.visualstudio.com in Bing).
Or package locally with:
vsce package
and install the generated .vsix file.
Notes
This extension is designed to complement the official Python extension, not replace it.
All commands are opt‑in — nothing runs automatically in the background.
Clear progress and error messages are shown for transparency.