Skip to content

venv tutorial wrong/confusing about python version used #119078

Closed
@deuberger

Description

@deuberger

Documentation

From https://docs.python.org/3/tutorial/venv.html:

venv will usually install the most recent version of Python that you have available. If you have multiple versions of Python on your system, you can select a specific Python version by running python3 or whichever version you want.

https://docs.python.org/3/library/venv.html#module-venv though makes it clear that the venv will use the Python installation from which the command was run.

So I believe it should be updated to:

venv will install the Python version from which the command was run. If you have multiple versions of Python on your system, you can select a specific Python version by running python3 or whichever version you want.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions