Re: python -m pip install and pip install

2019-10-17 Thread Hongyi Zhao
On Fri, 11 Oct 2019 13:02:26 +0530, Pankaj Jangid wrote: > Oh! I wasn't aware of this Windows thing. Thanks. Windows is suck, don't use it at all. -- https://mail.python.org/mailman/listinfo/python-list

Re: python -m pip install and pip install

2019-10-17 Thread Hongyi Zhao
On Fri, 11 Oct 2019 07:35:23 +0300, אורי 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". No, see the following: we

Re: python -m pip install and pip install

2019-10-11 Thread Pankaj Jangid
Chris Angelico writes: > ‪On Fri, Oct 11, 2019 at 3:37 PM ‫אורי‬‎ 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 --upgrad

Re: python -m pip install and pip install

2019-10-10 Thread Chris Angelico
‪On Fri, Oct 11, 2019 at 3:37 PM ‫אורי‬‎ 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

Re: python -m pip install and pip install

2019-10-10 Thread אורי
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". אורי u...@speedy.net On Mon, Oct 7, 2019 at 2:21 PM Hongyi Zhao wrote: > Hi, > > What

Re: python -m pip install and pip install

2019-10-10 Thread Pankaj Jangid
Michael Torrie writes: > On 10/10/19 1:21 AM, Pankaj Jangid wrote: >> So the scripts will just work fine if you simply use ~import pip~ >> and work with it. >> >> Suppose you were writing bash scripts around python programs. Then >> what will be the behaviour of, >> >> pip2 install mod >> >> u

Re: python -m pip install and pip install

2019-10-10 Thread Michael Torrie
On 10/10/19 1:21 AM, Pankaj Jangid wrote: > So the scripts will just work fine if you simply use ~import pip~ > and work with it. > > Suppose you were writing bash scripts around python programs. Then > what will be the behaviour of, > > pip2 install mod > > under a python3 environment. If Pyth

Re: python -m pip install and pip install

2019-10-10 Thread Pankaj Jangid
Hongyi Zhao writes: > Hongyi Zhao 于2019年10月8日周二 下午4:53写道: >> >> Cameron Simpson 于2019年10月8日周二 下午12:25写道: >> > >> > On 08Oct2019 02:49, Hongyi Zhao wrote: >> > >On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote: >> > >> A very good use-case is when you have both, python2 and python3 >> >

Re: python -m pip install and pip install

2019-10-08 Thread Hongyi Zhao
Cameron Simpson 于2019年10月8日周二 下午12:25写道: > > On 08Oct2019 02:49, Hongyi Zhao wrote: > >On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote: > >> A very good use-case is when you have both, python2 and python3 > >> installed. > >> python2 -m pip install mod > >> python3 -m pip install mod > >>

Re: python -m pip install and pip install

2019-10-08 Thread Hongyi Zhao
Hongyi Zhao 于2019年10月8日周二 下午4:53写道: > > Cameron Simpson 于2019年10月8日周二 下午12:25写道: > > > > On 08Oct2019 02:49, Hongyi Zhao wrote: > > >On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote: > > >> A very good use-case is when you have both, python2 and python3 > > >> installed. > > >> python2 -m

Re: python -m pip install and pip install

2019-10-07 Thread Cameron Simpson
On 08Oct2019 02:49, Hongyi Zhao wrote: On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote: A very good use-case is when you have both, python2 and python3 installed. python2 -m pip install mod python3 -m pip install mod will install the package in the corresponding PYTHONPATH. If so, wh

Re: python -m pip install and pip install

2019-10-07 Thread Hongyi Zhao
On Tue, 08 Oct 2019 06:28:05 +0530, Pankaj Jangid wrote: > A very good use-case is when you have both, python2 and python3 > installed. > > python2 -m pip install mod If so, why not just: pip2 install mod > > and > > python3 -m pip install mod and using: pip3 install mod > > will install

Re: python -m pip install and pip install

2019-10-07 Thread Pankaj Jangid
Hongyi Zhao writes: > Hi, > > What's the diff: > > python -m pip install mod > and > pip install mod A very good use-case is when you have both, python2 and python3 installed. python2 -m pip install mod and python3 -m pip install mod will install the package in the corresponding PYTHONPATH.

Re: python -m pip install and pip install

2019-10-07 Thread Chris Angelico
On Mon, Oct 7, 2019 at 10:21 PM Hongyi Zhao wrote: > > Hi, > > What's the diff: > > python -m pip install mod > and > pip install mod I presume from your series of posts that you either do not have access to a web browser, or do not trust search engines, because all of these questions can be answ

python -m pip install and pip install

2019-10-07 Thread Hongyi Zhao
Hi, What's the diff: python -m pip install mod and pip install mod -- https://mail.python.org/mailman/listinfo/python-list