PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 23rd of March, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[04:38:57] <njs> toad_polo: akemot: 'packaging' is kind of supposed to be the library you use instead of pip, though it doesn't necessarily have stuff unless people add it
[09:16:15] <akemot> njs, i found many implementations just only for parsing version string in 'packaging', distlib, pyparsing, pkg_resources. The last one is well known and exposed, i'll use pkg_resources.working_set instead of importing pip now
[11:52:37] <akemot> i've tried to update to 9.0.2 while having pip sources opened in atom. now i have no pip.exe
[11:53:56] <sumanah> Hi akemot
[11:54:01] <sumanah> akemot: you're on Windows, right?
[11:58:53] <Wooble> akemot: get it back with -m ensurepip?
[12:03:40] <akemot> it says requirement already satisfied: setuptools, pip.
[12:03:45] <akemot> i've tried python -c "from ensurepip import bootstrap; bootstrap(verbosity=2)"
[12:04:10] <akemot> it says nothing helpful
[12:04:27] <akemot> okay, i'll copy from some venv
[12:05:05] <akemot> ensurepip is interesting feature, need to read the source
[12:08:06] <Wooble> akemot: python -m pip uninstall pip first, maybe? :)
[12:09:06] <akemot> failed cuz some pip._vendor files were deleted
[12:09:45] <Wooble> fun.
[12:10:27] <akemot> i thought pip does kind of rollback, likely i confused with dpkg
[12:11:57] <akemot> because i have progs running 24/7, when i try to upgrade smth and it fails, i just kill it and update, nothing gets broken
[12:13:50] <mgedmin> python -m pip install -U pip?
[12:13:58] <mgedmin> if that says already installed, add -I?
[12:17:26] <Wooble> pip's broken, but ensurepip -U -I might do the same.
[12:19:09] <akemot> thanks, it worked, but only after i've copied urllib3 from requests, it gotta be moved in new versions
[12:19:33] <akemot> it is 9.0.3 already
[12:31:47] <akemot> "python -m ensurepip" works too after removing remnant dirs
[21:45:43] <Mattwmaster58> how do I install pip if I have to use --trusted-host option? get-pip.py fails for this reason
[22:03:25] <tdsmith> do you have a tls-intercepting middlebox or something?
[22:19:04] <Mattwmaster58> filtering software on the computer level
[22:42:21] <Mattwmaster58> fixed problem by running python installer and coosing repair