uv icon indicating copy to clipboard operation
uv copied to clipboard

There's no intuitive way to Managing Environments.

Open farzbood opened this issue 1 year ago • 3 comments

Hi, I couldn't find any command or options to Manage the Environments created once by uv venv and needed to be Modified/Removed/Switched Between appropriately, like the ones available in Poetry.

farzbood avatar Oct 09 '24 07:10 farzbood

You are probably looking for the uv pip commands, e.g. uv pip list, uv pip install, ...

I kind of wish uv pip was renamed to uv env, and uv venv was uv env create. uv pip could still exist as an alias for uv env, as can uv venv.

ilyagr avatar Oct 09 '24 08:10 ilyagr

No, pip commands are about managing the dependencies of the project installed in the env, not the virtual environment itself. I'm looking for commands like: poetry env remove, poetry env use, ... to manage the env. (check the link to the Poetry docs.) that let you associate more than one env to a project and switch between them, remove unwanted ones, etc.

P.S How can I Install the latest [Python 3.13 (free-threaded) build](https://github.com/indygreg/python-build-standalone/releases/tag/20241008) distribution (Windows10 x86_64), with uv? I couldn't find a way to tell that to uv python install

farzbood avatar Oct 09 '24 11:10 farzbood

We only allow a single project environment at this time. Related #1495

See https://github.com/astral-sh/uv/issues/8019

zanieb avatar Oct 09 '24 13:10 zanieb