Repository navigation
Create virtual environment using astral-sh/uv #23666
Description
Activity
- addedfeature-requestRequest for new features or functionalityRequest for new features or functionality
on Jun 24, 2024 - addedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on Jun 24, 2024 - addedneeds community feedbackAwaiting community feedbackAwaiting community feedbackand removedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on Jun 24, 2024 Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
mscheltienne commented
on Jun 24, 2024 AuthorMore actionsRichard Höchenberger (@hoechenberger) Victor Férat (@vferat) you might be interested by this one :)
Wish it would add soon 🙏
+1 to this
I think this can be implemented with the new Python Environments
Lets see if the guys at UV Astral (@astral-sh) can help with it, here is an example on how to do it.Reacted by Miguel P Z and Jason D'AmourI see this
https://github.com/microsoft/vscode-python-environments/blob/main/src/managers/builtin/uvProjectCreator.ts
When will it be merged?Now I get it, if you install this
https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-python-envs
And switch the Python extension to pre-release also then UV will do the heavy lifting with venvs.It so fast!
Reacted by Jalin Wang and Jason D'Amouryes check out the envs ext! It is now installed by default for all users!
Reacted by Victor Férat- removedneeds community feedbackAwaiting community feedbackAwaiting community feedback
on Jul 24, 2026
When selecting from the command palette
Python: Select Interpreter, we can create a virtual environment usingVenvorConda. I propose to add to this list the fasterhttps://github.com/astral-sh/uvtool, which creates an environment with:And install dependencies of the project in the current directory with the flag
allwith:Or for a simple
pip installcommand: