-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv pip install --target
flags says to add --system
#9356
Comments
If I may add on your issue: uv init --package try_pip_install_target
cd try_pip_install_target
uv add numpy
cd ..
uv pip install --target try_pip_install_target requests Gives the same error. error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment But: cd try_pip_install_target
uv pip install --target ./ requests Works. So doing So either the command was not designed to mirror Or it was designed to mirror Or I'm misunderstanding some subtle detail 😅 |
I need to refresh my memory here, but I agree that at minimum it's confusing. |
This has come up enough times that I'll look into changing it: |
Running the following:
Results in:
However, I think this is incorrect. I am giving the pip install a target so it shouldn't want to be installed with --system?
The text was updated successfully, but these errors were encountered: