From b76bad296a41904397f8bf4539dd1beb15351f02 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Sat, 11 Nov 2023 08:33:20 -0500 Subject: [PATCH] Normalize Windows install instructions for python.org installers --- README.md | 6 +++--- docs/installation.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 060526ddf5..08f410fe07 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ Upgrade pipx with `python3 -m pip install --user --upgrade pipx`. ### On Windows, install via pip (requires pip 19.0 or later) ``` -# If you installed python using the app-store, replace `python` with `python3` in the next line. -python -m pip install --user pipx +# If you installed python using Microsoft Store, replace `py` with `python3` in the next line. +py -m pip install --user pipx ``` It is possible (even most likely) the above finishes with a WARNING looking similar to this: @@ -67,7 +67,7 @@ Enter the following line (even if you did not get the warning): This will add both the above mentioned path and the `%USERPROFILE%\.local\bin` folder to your search path. Restart your terminal session and verify `pipx` does run. -Upgrade pipx with `python3 -m pip install --user --upgrade pipx`. +Upgrade pipx with `py -m pip install --user --upgrade pipx`. ### Via zipapp diff --git a/docs/installation.md b/docs/installation.md index cfd21894fb..2174ecfa4e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -18,8 +18,8 @@ pipx ensurepath On Windows (requires pip 19.0 or later): ``` -py -3 -m pip install --user pipx -py -3 -m pipx ensurepath +py -m pip install --user pipx +py -m pipx ensurepath ``` Otherwise, install via pip (requires pip 19.0 or later):