
"The Python Environments extension brings consistency and clarity to a part of Python development that has historically been fragmented across tools like venv, conda, pyenv, poetry, and pipenv. After a year in preview-refined through community feedback and real-world usage-the extension is being rolled out for general availability. Users can expect to have all environment workflows automatically switched to using the environments extension in the next few weeks or can opt in immediately with the setting python.useEnvsExtension."
"The extension automatically discovers environments from all major managers: Discovery is powered by PET (Python Environment Tool), a fast Rust-based scanner that finds environments reliably across platforms by checking your PATH, known installation locations, and configurable search paths. PET already powers environment discovery in the Python extension today, so this is the same proven engine-now with a dedicated UI built around it. You can create, delete, switch, and manage environments from a single UI-regardless of which tool created them."
Python development in VS Code gains a unified environments extension that consolidates environment, interpreter, and package workflows across venv, conda, pyenv, poetry, and pipenv. The extension exited preview after community feedback and is now generally available, with automatic migration of environment workflows scheduled or immediate opt-in via python.useEnvsExtension. The extension integrates with the Python extension and requires no setup; environments are discovered automatically. Environment discovery uses PET, a Rust-based scanner that checks PATH, known installation locations, and configurable search paths. Users can create, delete, switch, and manage environments from a single UI. If uv is installed, environment creation and package installs are significantly faster via python-envs.alwaysUseUv.
Read at Microsoft for Python Developers Blog
Unable to calculate read time
Collection
[
|
...
]