Skip to content
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

Cover --python <dir> in "Using arbitrary Python environments" #6457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Aug 22, 2024

Closes #6237

@zanieb zanieb added the documentation Improvements or additions to documentation label Aug 22, 2024
uv can also install into arbitrary, even non-virtual environments, with the `--python` option. For
example, `uv pip install --python /path/to/python` will install into the environment linked to the
`/path/to/python` interpreter regardless of whether or not it is a virtual environment. As with
virtual environments, the provided path can be the root directory of an environment instead of the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "or the Python executable itself"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well we just said this before. I think this needs to be restructured further. Will address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include bin/uv in uv venv
2 participants