python -m pip install and pip install

Pankaj Jangid pankaj.jangid at gmail.com
Fri Oct 11 03:32:26 EDT 2019


Chris Angelico <rosuav at gmail.com> writes:

> ‪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.
>
Oh! I wasn't aware of this Windows thing. Thanks. 

-- 
Pankaj Jangid



More information about the Python-list mailing list