[11:04:21] <ToM`> « pip install --upgrade ansible » --> poof, setuptools killed itself and all the pip with it. I don't know much about python and pip and things, so I dont even know how to describe the issue.
[11:25:59] <ToM`> Nope - I am a naive python newbie :)
[11:26:02] <pjdelport> If so, maybe recreate it, and then uninstall distribute and install setuptools, before doing anything else.
[11:26:46] <pjdelport> Ah, okay. You might want to start by making a virtualenv to work inside of. :)
[11:27:01] <ToM`> That's lesson I learnt today, yeah :)
[11:27:25] <pjdelport> It's a pity that this is your first exposure to this, then... things in Python packaging used to be a lot worse than they are today.
[11:27:42] <pjdelport> The distribute library was just one of those transitional things, on the road to making it better.
[11:27:55] <pjdelport> What does "pip list" say for you?
[11:28:48] <pjdelport> Oh, wow, so it's *very* old.
[11:29:31] <pjdelport> Okay, so before Ansible or anything else, you probably want to get your pip and setuptools updated, and get rid of distribute and any other outdated libraries.
[11:29:36] <pjdelport> Then, things should go a lot more smoothly.
[11:29:43] <pjdelport> And should just work, for the most part.
[11:30:08] <pjdelport> Unfortunately I have to run for a bit and can't stay to help, but hopefully someone else can pick this up!
[11:30:11] <ToM`> python-pip 1.1-3 from Debian Wheezy. I installed ansible on 2015-02-20.
[11:31:00] <ToM`> So yeah, no luck I got in into this time window :)
[11:32:02] <pjdelport> ToM`: You'll probably want at least pip 6 (equivalent to 1.6 in the old versioning scheme that you have 1.1 of), and setuptools 8+
[11:32:16] <pjdelport> https://packaging.python.org/en/latest/installing.html is maybe a good starting point.
[11:33:02] <pjdelport> You probably don't want to mess with the system's copy of pip.
[11:33:36] <pjdelport> But you can create a new virtualenv, and upgrade pip and setuptools inside of it (pip install -U pip setuptools), and then just do all of your work in there.
[11:33:46] <pjdelport> Without worrying about breaking the system's old versions.
[11:35:42] <ToM`> Yeah, I dont want to ruin my sunday any more, I'll virtualenv everything and leave the junk there for an other day.