Python Environments is Microsoft's official VS Code extension for managing Python venv, conda, uv, pyenv, poetry, and pipenv environments. See features and…
Category
Developer Tools
Pricing
Free - distributed as a free extension on the Visual Studio Code Marketplace, from Free
Verified
Not yet
Last updated
July 19, 2026
Founded
2024
Headquarters
Redmond, Washington, United States (Microsoft Corporation)
Free Plan
Overview
Python Environments is Microsoft's official VS Code extension for managing Python virtual environments and packages from within the editor, first previewed in December 2024 and rolled out toward general availability through 2025 after a year of community feedback.
It replaces the need to juggle separate command-line workflows for venv, conda, uv, pyenv, poetry, and pipenv by giving all of them a single, unified environment-management interface inside VS Code's Activity Bar.
Key Features
The extension automatically discovers existing Python environments, and its 'Quick Create' flow builds a new environment with the default manager and latest Python version, picking up dependencies from requirements.txt or pyproject.toml automatically.
Multi-project support lets developers assign different environments to different folders within one workspace - useful for monorepos and microservices - while storing configuration portably in .vscode/settings.json rather than hardcoded local paths.
Pricing
Python Environments is free to install and use from the Visual Studio Code Marketplace, consistent with Microsoft's broader free Python tooling for VS Code.
There are no premium tiers, subscriptions, or usage limits associated with the extension itself.
Key Features
Unified environment manager support — Manages venv, conda, uv, pyenv, poetry, and pipenv environments through one consistent interface instead of separate manager-specific workflows.
Dedicated Environments view — A new view in the VS Code Activity Bar centralizes creating, deleting, and switching between Python environments.
Quick Create environment setup — One-click environment creation using the default manager, latest Python version, and dependencies detected from requirements.txt or pyproject.toml.
Multi-project and multi-root support — Assign different Python environments to different folders within the same workspace, ideal for monorepos and microservices.
Portable environment configuration — Stores the environment manager type rather than hardcoded interpreter paths, so settings.json remains portable across machines and teammates.
Package management UI — Install, update, and manage packages within the selected environment directly from the extension's interface.
Automatic environment discovery — Automatically detects existing Python environments on the system and surfaces them for use in the workspace.
Extensible API for environment managers — Provides extensible APIs so other environment managers and tools can integrate with the extension's environment model.
Pros & Cons
Pros
Completely free official Microsoft extension with no paid tiers
Supports all major Python environment managers in one unified UI
Quick Create simplifies environment setup from dependency files
Multi-project support is genuinely useful for monorepos and microservices
Actively developed in the open on GitHub with regular Microsoft blog updates
Cons
Was still in preview with evolving APIs for roughly a year before general availability
Requires users to opt in or wait for gradual rollout via the python.useEnvsExtension setting
Adds another extension and view to learn on top of the existing Python extension
Some legacy workflows built around the original Python extension's interpreter picker may need adjustment
Multi-project configuration adds complexity for simple single-environment projects
Tied specifically to the VS Code ecosystem, not usable in other editors
Pricing
VS Code Extension Free N/A
Frequently Asked Questions
Is the Python Environments extension free?
Yes, Python Environments is a free official Microsoft extension available on the Visual Studio Code Marketplace with no paid tiers.
What environment managers does it support?
It supports venv, conda, uv, pyenv, poetry, and pipenv through a single unified interface.
How is this different from the main Python extension?
Python Environments consolidates environment and package management into its own dedicated view and workflow, separating that concern from the core Python extension's language features like linting and debugging.
What is Quick Create?
Quick Create is a one-click flow that builds a new Python environment using your default manager and the latest Python version, automatically installing dependencies found in requirements.txt or pyproject.toml.
Can I use different Python environments for different folders in one workspace?
Yes, the extension's Projects feature lets you assign different environments to different folders, which is useful for monorepos, microservices, or testing across Python versions.
When did the Python Environments extension launch?
It was introduced in preview around December 2024 and rolled out toward general availability through 2025 after community testing and feedback.
How do I enable the new extension if I am using the classic Python extension?
You can opt in early using the python.useEnvsExtension setting in VS Code, or wait for Microsoft's gradual rollout to switch environment workflows over automatically.
Is Python Environments open source?
Yes, its source code is publicly available on GitHub under the microsoft/vscode-python-environments repository.