Skip to content

venv --help docs don't specify the exact activation command #103077

Open
@JosephSBoyle

Description

@JosephSBoyle

Proposal

Add the commands to activate venv on the current platform to the help text displayed when printing python -m venv --help

Pitch

Many people who work cross-platform and use venv will forget the activation commands on one or both platforms.
For me, this means I have to google the command whenever I'm working on Windows.

The current --help text related to activating the venv is:

Once an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory

My thoughts are we could add the activation command somewhere beneath this text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-venvRelated to the venv moduletype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions