You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see uv recognized for global virtual environments in a similar way to how pyenv works. Instead of focusing solely on in-project folder development, allow for global env instantiation.
In theory, this task should be accomplished by creating all virtual environments via:
uv venv ~/.venvs/my_project_env
To activate the environment:
source ~/.venvs/my_project_env/bin/activate
Alternatively, uv could add the following function to .bashrc/.zshrc:
function uvactivate() {
source ~/.venvs/$1/bin/activate
}
Then users could activate an environment like this:
uvactivate my_project_env
The text was updated successfully, but these errors were encountered:
I would like to see
uv
recognized for global virtual environments in a similar way to howpyenv
works. Instead of focusing solely on in-project folder development, allow for global env instantiation.In theory, this task should be accomplished by creating all virtual environments via:
uv venv ~/.venvs/my_project_env
To activate the environment:
source ~/.venvs/my_project_env/bin/activate
Alternatively,
uv
could add the following function to.bashrc/.zshrc
:Then users could activate an environment like this:
uvactivate my_project_env
The text was updated successfully, but these errors were encountered: