python -m pip install and pip install

Chris Angelico rosuav at gmail.com
Fri Oct 11 01:16:56 EDT 2019


‪On Fri, Oct 11, 2019 at 3:37 PM ‫אורי‬‎ <uri at speedy.net> wrote:‬
>
> When you upgrade pip, you have to write:
>
> python -m pip install --upgrade pip
>
> When you install or upgrade anything else, you can write "pip install".
>
> You can't upgrade pip using "pip install --upgrade pip".
>

Only a consideration on Windows. Other platforms are absolutely fine
upgrading pip either way.

ChrisA



More information about the Python-list mailing list