PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 28th of March, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[13:52:05] <bitdancer> Is pip3 really going to switch to column format for 'pip list' even when output is directed to a pipe? I'm getting the warning when I do "pip3 list | grep xxx".
[13:54:05] <Siecje> Does pip know that it is getting directed to a pipe?
[13:54:49] <mgedmin> pip could check sys.stdout.isatty() in theory; I don't know if it does
[13:55:49] <bitdancer> Also, --format=legacy to get a linear list seems...not intuitive :) I'd expect format={list|columns}.
[13:55:59] <bitdancer> or something like that.
[13:56:22] <bitdancer> That is, a non-columnar list has obvious utility and should not be relgated to "legacy".
[13:57:55] <bitdancer> (As an aside, I have almost zero use for 'ls's columnar output format, I'm always using -l when I use it just to get a linear list, which is *much* easier to read.)
[14:02:42] <sumanah> pradyunsg: ^ maybe you have some thoughts on this?
[14:14:52] <pradyunsg> I guess we could. pip list --format=list is weirder to read than pip list --format=legacy
[14:16:20] <pradyunsg> That said, feel free to create an issue over at pip's tracker for this. I'd like to have other people pitch in on this, even if they're not online now.
[14:24:04] <sumanah> bitdancer: ^
[18:52:53] <champagn1popo> hello
[18:53:10] <champagn1popo> having big trouble on a gentoo machine (production) that I absoutely cannot figure out
[18:53:20] <champagn1popo> pip doesn't seem to have 'install' as an option
[18:53:40] <champagn1popo> only help, search, unzip and zip
[18:54:05] <champagn1popo> v1.2.1 - we need to upgrade I figure... but how since we can't install?
[18:55:25] <sumanah> hi champagn1popo
[18:55:37] <sumanah> champagn1popo: what happens when you try to run pip install ?
[18:55:51] <champagn1popo> Usage: pip COMMAND [OPTIONS]
[18:55:51] <champagn1popo> No command by the name pip install
[18:55:52] <champagn1popo> (maybe you meant "pip install")
[18:56:40] <sumanah> wow. huh. champagn1popo that is unusual
[18:56:47] <sumanah> champagn1popo: how long has it had this problem?
[18:57:09] <champagn1popo> no idea
[18:57:23] <champagn1popo> just noticed today bc we need to install aws cli on thurr
[18:57:28] <sumanah> champagn1popo: this is pip version 1.2.1?
[18:57:39] <champagn1popo> pip 1.2.1 from /usr/lib64/python2.7/site-packages (python 2.7)
[19:05:21] <champagn1popo> ¯\_(ツ)_/¯
[19:05:33] <sumanah> champagn1popo: you could separately install pip3 maybe?
[19:05:58] <champagn1popo> i think preferably we'd want to fix this one
[19:06:07] <champagn1popo> it seems to work in other environments which are mostly the same
[19:06:15] <champagn1popo> again this is production
[19:06:18] <champagn1popo> and again this is gentoo
[19:06:28] <champagn1popo> if you have any hints we can poke around
[19:06:44] <sumanah> champagn1popo: I personally don't, but hope others here do. if they don't, https://groups.google.com/forum/#!forum/pypa-dev might
[19:23:43] <thea> @champagn1popo are you using an unusual terminal setup or have your LANG / locale set to something strange?
[19:23:59] <thea> pip 1.2.1 is *ancient*.
[19:32:49] <champagn1popo> unusual?
[19:32:52] <champagn1popo> i don't think so
[19:33:01] <champagn1popo> locale is fine
[19:33:20] <champagn1popo> ok so i uninstalled it using the package manager, then installed it via get-pip.py
[19:33:29] <champagn1popo> then it worked! 9.x
[19:33:38] <champagn1popo> so i uninstalled it
[19:33:43] <champagn1popo> to replicate this problem
[19:33:49] <champagn1popo> and reinstalled it from my package manager
[19:33:55] <champagn1popo> and uninstalled it
[19:34:05] <champagn1popo> now i cant install with get-pip.py