Skip to content

Why does Pip documentation refer Windows to use an executable named "py"? #10433

Open
@notatallshaw

Description

@notatallshaw

Description

I'm trying to follow user guides on getting pip development done and one of the things I notice is that it refers to executing python through an executable called py.

I run Python almost exclusively on Windows and I don't know what py is, I can't google it because "py" or "python py" or "py executable" are all too generic for Google so I can't find any documentation on it, instead Google thinks I'm talking about the ".py" extension.

I think it's something that ships optionally with the Python installer from the Python Foundation? But if so it's optional as I've never had it installed. But even so I don't think it ships with the Python from the Windows store, or the Python in Anaconda, Miniconda, Miniforge, Mambaforge, etc...

So why is pip referring to py which is this optional thing that's impossible to find documentation on rather than just python which is what works on both Windows and other platforms?

Expected behavior

python

pip version

all

Python version

all

OS

Windows

How to Reproduce

Read Documentation

Output

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsDocumentation related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions