Re: Use python -m pip instead of plain pip

2023-10-23 Thread Edward K. Ream
On Mon, Oct 23, 2023 at 7:55 AM Thomas Passin  wrote:

> In many places, I (and others) keep saying you should invoke *pip* using
>
> python -m pip
>
> instead of plain
>
> pip
>
> Here is a page that goes into it in more detail.  It also turns out that 
> *python
> -m pip* is needed to update pip itself, which I didn't know.
>

Neither did I.

Happily, when I do pip in a console I am really executing pip.cmd and that
contains python -m pip %*

Whew! :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3tAaMA7ReYRvrzccbWfxUd6%2Bx0yxj%3Dpsmdj5a6tp-9tg%40mail.gmail.com.


Use python -m pip instead of plain pip

2023-10-23 Thread Thomas Passin
In many places, I (and others) keep saying you should invoke *pip* using

python -m pip

instead of plain 

pip

Here is a page that goes into it in more detail.  It also turns out that 
*python 
-m pip* is needed to update pip itself, which I didn't know.

Why you should use python -m pip 


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ca9e1474-398f-46e6-a0be-f8a0b17d11bfn%40googlegroups.com.