PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 18th of June, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:29:25] <techalchemy> donald: based on the error you need to install the python development headers
[00:29:43] <techalchemy> on debian, i assume you just need to use the package manager for that
[00:30:17] <techalchemy> were you running things with sudo / as root?
[00:39:31] <donald> techalchemy: no
[00:39:34] <donald> just user
[00:39:44] <techalchemy> oh, your system install will be ok then
[00:39:51] <donald> yes
[00:39:59] <techalchemy> you just need the development headers for python in order to do what you are trying to do
[00:40:00] <donald> apt install python development headers ?
[00:40:06] <donald> what is the name exactly?
[00:40:07] <techalchemy> apt install python3-dev
[00:40:30] <donald> dine
[00:40:33] <donald> done*
[00:40:50] <donald> and then techalchemy?
[00:41:53] <techalchemy> try the command again :p
[00:42:06] <donald> pip uninstall git+https://github.com/arthaud/python3-pwntools.git ?
[00:42:18] <techalchemy> it's not likely that it is installed
[00:42:26] <donald> techalchemy: or pip install --upgrade git+https://github.com/arthaud/python3-pwntools.git --user
[00:42:36] <techalchemy> that one is probably the one you want
[00:42:38] <donald> what command?
[00:42:40] <donald> ok
[00:42:49] <techalchemy> one way to proect your environment a bit better is using virtual environments if you aren't familiar with them
[00:43:04] <techalchemy> i'm sure there is a good tutorial somewhere
[00:43:38] <donald> https://paste.debian.net/1029631/ still...
[00:44:16] <donald> techalchemy what do you suggest?
[00:44:48] <techalchemy> what is the output of pip --version
[00:45:09] <donald> pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
[00:45:36] <techalchemy> ah yes, the package requires python 3
[00:45:42] <donald> but I hav einstalled pip3 too
[00:45:43] <techalchemy> you can install if you use pip3
[00:45:49] <techalchemy> or python3 -m pip
[00:46:44] <donald> https://paste.debian.net/1029632/
[00:47:17] <donald> techalchemy
[00:47:53] <techalchemy> oh boy
[00:48:06] <donald> what?
[00:48:30] <techalchemy> I vaguely remember why that error happens
[00:48:31] <techalchemy> hang on
[00:49:25] <techalchemy> what is the output of 'which pip'
[00:49:30] <donald> because I did pip install --upgrade git+https://github.com/arthaud/python3-pwntools.git; and ctr-c at the doanwlonading
[00:49:37] <techalchemy> that shouldn't matter
[00:49:48] <donald> /usr/bin/pip
[00:50:34] <donald> maybe I shouyld continue the dowsnloading and then remove the pacakges techalchemy
[00:51:04] <techalchemy> hash -d pip
[00:51:05] <techalchemy> run that
[00:51:09] <techalchemy> apparently
[00:51:22] <donald> hash -d pip
[00:51:22] <donald> bash: hash: pip : non trouvé
[00:51:27] <donald> = hash not found
[00:52:01] <techalchemy> ah you're not on bash i guess
[00:52:12] <techalchemy> and then you can do /usr/bin/env python3 -m pip intall --user --upgrade pip
[00:52:19] <techalchemy> and get a user install of pip
[00:52:57] <donald> techalchemy yes Requirement already up-to-date: pip in
[00:53:22] <techalchemy> donald: what shell are you using?
[00:53:27] <techalchemy> echo $SHELL
[00:53:43] <donald> /bin/bash
[00:53:46] <techalchemy> ok
[00:54:54] <techalchemy> echo "export PATH=${HOME}/.local/bin:$PATH" >> ~/.bash_profile
[00:55:17] <techalchemy> hm does bash expansion work that way
[00:55:41] <donald> ok let me try to install
[00:55:43] <donald> again
[00:56:25] <techalchemy> it does
[00:56:27] <techalchemy> donald: wait
[00:56:31] <donald> techalchemy: still crash
[00:56:38] <techalchemy> first run this command: source ~/.bash_profile
[00:56:51] <techalchemy> then you will be using the right version of pip
[00:56:52] <donald> ok
[00:57:02] <donald> and then?
[00:57:04] <techalchemy> for reference: https://github.com/pypa/pip/issues/5221
[00:57:07] <techalchemy> then you can try installing
[00:58:45] <donald> GG
[00:58:57] <techalchemy> yay
[00:59:02] <donald> I saw a lot of logs that made me anxious but it seems to work
[00:59:46] <techalchemy> lol
[01:02:01] <donald> techalchemy: it seem to work. a program has crashed. I just hope it is not pip related
[01:02:21] <techalchemy> based on the name of what you are attempting to install, I would say all bets are off
[01:02:22] <techalchemy> lol
[01:02:58] <donald> lol
[01:03:11] <donald> but I do not think so
[01:03:56] <donald> I mean we can do security as long as we want if we master all we do there is not any reason to worry to out system health
[01:08:09] <donald> $ pip3 -h
[01:08:09] <donald> Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main'
[01:08:09] <donald> are you sure nothing is broken?
[01:08:18] <donald> techalchemy:
[01:10:09] <donald> techalchemy still sure?
[01:11:09] <techalchemy> nope
[01:11:14] <techalchemy> i'm sure something is broken
[01:11:24] <techalchemy> you'll probably want to reinstall your system pip
[01:11:27] <techalchemy> with your package manager
[01:11:29] <donald> I can only agree with ypu
[01:12:03] <donald> techalchemy apt purge python-pip && apt purge python3-pip; ?
[01:12:23] <techalchemy> there's a command for it hang on
[01:12:54] <donald> techalchemy wich
[01:12:56] <donald> ?
[01:13:00] <donald> what command
[01:13:01] <donald> ?
[01:13:49] <techalchemy> i'd try apt-get install --reinstall -f python3-pip
[01:13:50] <techalchemy> to start
[01:14:15] <donald> but it will only remove the packages. noto the config?
[01:14:28] <donald> and -f = force?
[01:14:47] <donald> ah no
[01:14:53] <donald> f = fiw broken
[01:15:25] <donald> done
[01:15:52] <donald> techalchemy I still have the same error
[01:16:34] <techalchemy> i'm guessing you have other pip's installed
[01:16:42] <techalchemy> likely in /usr/local/bin or something
[01:16:54] <donald> I have pythpon-pip and python3-pip
[01:17:21] <techalchemy> right, but if you try to upgrade pip using pip while using sudo the upgraded version goes in /usr/local/bin
[01:17:28] <techalchemy> ls /usr/local/bin/pip*
[01:18:47] <donald> no folder
[01:18:50] <donald> do not worry
[01:20:23] <donald> techalchemy any idea?
[01:21:11] <techalchemy> not really, it's hard to say exactly waht is going on, wish I had more time to help but I have to take care of a few things unfortunately
[01:21:26] <donald> techalchemy: ok
[01:21:28] <techalchemy> there is some good info about these kinds of things online, especially for debian because they make it very easy to screw this up
[01:51:58] <donald> https://paste.debian.net/1029634/ since I did pip install x; with not --user I can not download any package anymore
[02:30:12] <feuli> since I have done $pip install --upgrade git+https://github.com/arthaud/python3-pwntools.git --userCollecting git+https://github.com/arthaud/python3-pwntools.git I have: https://paste.debian.net/1029634/
[02:52:29] <donald> hi
[02:53:05] <donald> energizer I changed my nbick
[19:37:59] <dwighthubbard> I have a question. I have the new bandersnatch 3.0.0dev running in staging environments on the west coast and the midwest with a wrapper that is storage the sync runtime and serial numbers of each run.
[19:39:50] <dwighthubbard> I'm noticing between 5:30-8:30am PST that the mirror sync on the west coast is taking significantly longer.
[19:40:39] <dwighthubbard> I'm wondering if this is due to some known pypi/fastly configuration or if I need to dig into into my infrastructure side a bit more.
[19:49:33] <cooperlees> dwighthubbard: Is it only during that time every day?
[22:42:18] <dwighthubbard> I see the sync runtimes increase in both data centers about that time every day, but generally the runtime from the west cost is around twice as long as the midwest datacenter.