osdir.com


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

pip vs python -m pip?


you must be picking up pip from a different python installl (or virtualenv)
than you are picking up python.
Check your %PATH%

On Fri, Jun 21, 2019 at 6:29 AM Malcolm Greene <python at bdurham.com> wrote:

> 64-bit Python 3.6.8 running on Windows with a virtual environment
> activated.
>
> "pip -v" reports 19.0.3
> "python -m pip" reports 19.1.1
>
> Is this behavior by design or a bug?
>
> My takeaway is that its better to run "python -m pip ..." vs "pip ..."
> when running pip related tasks.
>
> Thoughts?
>
> Malcolm
> --
> https://mail.python.org/mailman/listinfo/python-list
>