On Thu, Nov 5, 2015 at 7:52 PM, Glyph Lefkowitz <gl...@twistedmatrix.com> wrote:
>
> If you invoke 'pip[X.Y]' and it matches 'python -m pip' in your current
> virtualenv, don't say anything; similarly if you invoke 'python -m pip' and
> 'which pip' matches.  But if there's a mismatch, pip can print information
> in both cases.  This would go a long way to alleviating the confusion that
> occurs when users back themselves into one of these corners, and would alert
> users to potential issues before they become a problem; right now you have
> to be a dogged investigative journalist to figure out why pip is doing the
> wrong thing in some cases.

Here's a sketch of how something like this might look:

https://gist.github.com/njsmith/c051a8298cc641bcfef4

-n

-- 
Nathaniel J. Smith -- http://vorpus.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to