mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add some references to more details in the Python install guide (#4962)
This commit is contained in:
parent
a4044be95b
commit
067b3ee666
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,10 @@ To view available and installed Python versions:
|
|||
$ uv python list
|
||||
```
|
||||
|
||||
See the [`python list`](../python-versions.html#viewing-available-python-versions) documentation for more details.
|
||||
|
||||
<!--TODO(zanieb): The above should probably link to a CLI reference and that content should be moved out of that file -->
|
||||
|
||||
## Automatic Python downloads
|
||||
|
||||
Note that Python does not need to be explicitly installed to use uv. By default, uv will automatically download Python versions when they are required. For example, the following would download Python 3.12 if it was not installed:
|
||||
|
@ -57,3 +61,5 @@ Note that when an automatic Python installation occurs, the `python` command wil
|
|||
uv will also use an existing Python installation if already present on the system. There's no configuration necessary for this behavior, uv will use the system Python if it satisfies the requirements of the command invocation.
|
||||
|
||||
To force uv to use the system Python, provide the `--python-preference only-system` option.
|
||||
|
||||
See the [Python version preference](../python-versions.html#adjusting-python-version-preferences) documentation for more details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue