Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-20 Thread Chris Angelico
On Fri, Jul 20, 2018 at 5:56 PM, Thomas Jollans wrote: > On 20/07/18 05:10, Al Sweigart wrote: >> Sorry, I meant "pip list", rather than "pip info". >> >> I thought about the fact that "pip --version" provides this info, but 1) >> it provides the location of pip, not the python interpreter it inst

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-20 Thread Thomas Jollans
On 20/07/18 05:10, Al Sweigart wrote: > Sorry, I meant "pip list", rather than "pip info". > > I thought about the fact that "pip --version" provides this info, but 1) > it provides the location of pip, not the python interpreter it installs > packages for and 2) it would be an additional step for

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-20 Thread Terry Reedy
On 7/20/2018 12:21 AM, Nathaniel Smith wrote: On Thu, Jul 19, 2018 at 5:45 PM, Al Sweigart wrote: The goal of this idea is to make it easier to find out when someone has installed packages for the wrong python installation. I'm coming across quite a few StackOverflow posts and emails where begi

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Pradyun Gedam
On Fri, 20 Jul 2018, 09:52 Nathaniel Smith, wrote: > On Thu, Jul 19, 2018 at 5:45 PM, Al Sweigart wrote: > > The goal of this idea is to make it easier to find out when someone has > > installed packages for the wrong python installation. I'm coming across > > quite a few StackOverflow posts and

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Wes Turner
`python -m site` and its docs may also be useful for troubleshooting end-user installations. A diagnostic script with e.g. these commands could also be helpful: which python which pip python -m site # sys.path, USER_SITE (pip --user) python -m pip --version >>> print((os.name, sys.platform, pla

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Nathaniel Smith
On Thu, Jul 19, 2018 at 5:45 PM, Al Sweigart wrote: > The goal of this idea is to make it easier to find out when someone has > installed packages for the wrong python installation. I'm coming across > quite a few StackOverflow posts and emails where beginners are using pip to > install a package,

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Abdur-Rahmaan Janhangeer
as it requires only a log, i think it is worth it as pip acts covertly meaning you don't see which pip is being used in a multi-py environment, yes you can have version pip info Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius > > _

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Al Sweigart
Sorry, I meant "pip list", rather than "pip info". I thought about the fact that "pip --version" provides this info, but 1) it provides the location of pip, not the python interpreter it installs packages for and 2) it would be an additional step for the question-asker to go through after posting

Re: [Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Chris Angelico
On Fri, Jul 20, 2018 at 10:45 AM, Al Sweigart wrote: > The goal of this idea is to make it easier to find out when someone has > installed packages for the wrong python installation. I'm coming across > quite a few StackOverflow posts and emails where beginners are using pip to > install a package

[Python-ideas] Adding Python interpreter info to "pip install"

2018-07-19 Thread Al Sweigart
The goal of this idea is to make it easier to find out when someone has installed packages for the wrong python installation. I'm coming across quite a few StackOverflow posts and emails where beginners are using pip to install a package, but then finding they can't import it because they have mul