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
Sorry if this is duplicate.
Currently, if you have a uv-created venv activated, pip is not available and so it points to your system pip. You can add pip to your uv venv when you create it with the --seed flag, but I think it should be this way by default and I'm curious why it isn't
Reasons:
I would expect a venv to have pip in it. If I ssh into a shared linux server and find and activate a virtual environment, I would expect to be able to use pip. People who don't know what uv is would be very confused in this situation
I manage a python package for ~100 engineers internally at a company. We are migrating our main project from pip to uv, and it would help to have commands that work regardless of how they set up their venv, i.e. pip install xpip show x, rather than "if you set this up with uv, do this x, otherwise y".
Because of the above two reasons, I basically will only use and instruct others to use uv venv with the --seed flag, which makes me feel like it should be the default.
I understand seed is configurable with environment variable, but:
We use both Windows and Linux, setting environment variables on Windows is a mess (both the UI and the PS command) and very tedious and multiplying that by 100 engineers each who each have multiple computers is a big loss.
Example
uv venv
.venv/Scripts/activate
pip install pandas
uv pip show pandas
The text was updated successfully, but these errors were encountered:
Summary
Sorry if this is duplicate.
Currently, if you have a uv-created venv activated,
pip
is not available and so it points to your system pip. You can add pip to your uv venv when you create it with the --seed flag, but I think it should be this way by default and I'm curious why it isn'tReasons:
pip install x
pip show x
, rather than "if you set this up with uv, do this x, otherwise y".Because of the above two reasons, I basically will only use and instruct others to use uv venv with the --seed flag, which makes me feel like it should be the default.
I understand seed is configurable with environment variable, but:
Example
The text was updated successfully, but these errors were encountered: