[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python -m pip install and pip install

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:

werner at debian-01:~$ pip install --upgrade pip
Looking in indexes:
Collecting pip
py2.py3-none-any.whl (1.4MB)
     |????????????????????????????????| 1.4MB 2.2MB/s 
Installing collected packages: pip
  Found existing installation: pip 19.2.3
    Uninstalling pip-19.2.3:
      Successfully uninstalled pip-19.2.3
Successfully installed pip-19.3